Class WsdlOption
- java.lang.Object
-
- org.apache.cxf.maven_plugin.wsdl2js.Option
-
- org.apache.cxf.maven_plugin.wsdl2js.WsdlOption
-
- All Implemented Interfaces:
GenericWsdlOption
public class WsdlOption extends Option implements GenericWsdlOption
An option for javascript generation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cxf.maven_plugin.wsdl2js.Option
Option.UriPrefixPair
-
-
Constructor Summary
Constructors Constructor Description WsdlOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug)
WsdlArtifact
getArtifact()
Maven coordinatesFile[]
getDeleteDirs()
String
getUri()
Return a string pointing to the WSDL.String
getWsdl()
void
setArtifact(WsdlArtifact artifact)
void
setUri(String uri)
void
setWsdl(String wsdl)
Set pathname or URI to WSDL.String
toString()
-
Methods inherited from class org.apache.cxf.maven_plugin.wsdl2js.Option
getCatalog, getDependencies, getOutput, getOutputDir, getPackagePrefixes, getValidate, getWsdlVersion, merge, setCatalog, setDependencies, setOutput, setOutputDir, setPackagePrefixes, setValidate, setWsdlVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.maven_plugin.GenericWsdlOption
getOutputDir, setOutputDir
-
-
-
-
Method Detail
-
getWsdl
public String getWsdl()
- Returns:
- Pathname or URI to wsdl.
-
setWsdl
public void setWsdl(String wsdl)
Set pathname or URI to WSDL.- Parameters:
wsdl
- path.
-
getArtifact
public WsdlArtifact getArtifact()
Maven coordinates- Specified by:
getArtifact
in interfaceGenericWsdlOption
- Returns:
-
setArtifact
public void setArtifact(WsdlArtifact artifact)
- Specified by:
setArtifact
in interfaceGenericWsdlOption
-
getUri
public String getUri()
Description copied from interface:GenericWsdlOption
Return a string pointing to the WSDL. Might be a plain path, might be a full URI.- Specified by:
getUri
in interfaceGenericWsdlOption
- Returns:
-
setUri
public void setUri(String uri)
- Specified by:
setUri
in interfaceGenericWsdlOption
-
getDeleteDirs
public File[] getDeleteDirs()
- Specified by:
getDeleteDirs
in interfaceGenericWsdlOption
-
generateCommandLine
public List<String> generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug)
- Specified by:
generateCommandLine
in interfaceGenericWsdlOption
-
-