Apache CXF API

org.apache.cxf.maven_plugin.wsdl2js
Class WsdlOption

java.lang.Object
  extended by org.apache.cxf.maven_plugin.wsdl2js.Option
      extended by 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
WsdlOption()
           
 
Method Summary
 List<String> generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug)
           
 WsdlArtifact getArtifact()
          Maven coordinates
 File[] 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, getWsdlVersion, isValidate, 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
 

Constructor Detail

WsdlOption

public WsdlOption()
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 interface GenericWsdlOption
Returns:

setArtifact

public void setArtifact(WsdlArtifact artifact)
Specified by:
setArtifact in interface GenericWsdlOption

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 interface GenericWsdlOption
Returns:

setUri

public void setUri(String uri)
Specified by:
setUri in interface GenericWsdlOption

getDeleteDirs

public File[] getDeleteDirs()
Specified by:
getDeleteDirs in interface GenericWsdlOption

generateCommandLine

public List<String> generateCommandLine(File outputDirFile,
                                        URI basedir,
                                        URI wsdlURI,
                                        boolean debug)
Specified by:
generateCommandLine in interface GenericWsdlOption

toString

public String toString()
Overrides:
toString in class Option

Apache CXF API

Apache CXF