Apache CXF API

org.apache.cxf.maven_plugin
Class WsdlOption

java.lang.Object
  extended by org.apache.cxf.maven_plugin.Option
      extended by org.apache.cxf.maven_plugin.WsdlOption

public class WsdlOption
extends Option


Field Summary
 
Fields inherited from class org.apache.cxf.maven_plugin.Option
asyncMethods, bareMethods, extraargs, mimeMethods, outputDir, packagenames, xjcargs
 
Constructor Summary
WsdlOption()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug)
           
 String getWsdl()
           
 WsdlArtifact getWsdlArtifact()
           
 File getWsdlFile(File baseDir)
          Try to find a file matching the wsdl path (either absolutely, relatively to the current dir or to the project base dir)
 URI getWsdlURI(URI baseURI)
           
 int hashCode()
           
 boolean isDefServiceName()
           
 void setWsdl(String w)
           
 void setWsdlArtifact(WsdlArtifact wsdlArtifact)
           
 String toString()
           
 
Methods inherited from class org.apache.cxf.maven_plugin.Option
addBindingFile, addDefaultBindingFileIfExists, copyOptions, getAsyncMethods, getBareMethods, getBindingFiles, getCatalog, getDataBinding, getDefaultExcludesNamespace, getDefaultNamespacePackageMapping, getDeleteDirs, getDependencies, getExceptionSuper, getExtraargs, getFaultSerialVersionUID, getFrontEnd, getMimeMethods, getNamespaceExcludes, getOutputDir, getPackagenames, getServiceName, getWsdlLocation, getWsdlVersion, getXJCargs, isAllowElementRefs, isAutoNameResolution, isExtendedSoapHeaders, isMarkGenerated, isNoAddressBinding, isNoTypes, isSetWsdlLocation, isValidateWsdl, isWsdlList, merge, setAllowElementRefs, setAsyncMethods, setAutoNameResolution, setBareMethods, setBindingFiles, setCatalog, setDataBinding, setDefaultExcludesNamespace, setDefaultNamespacePackageMapping, setDeleteDirs, setDependencies, setExceptionSuper, setExtendedSoapHeaders, setExtraargs, setFaultSerialVersionUID, setFrontEnd, setMarkGenerated, setMimeMethods, setNamespaceExcludes, setNoAddressBinding, setNoTypes, setOutputDir, setPackagenames, setServiceName, setValidateWsdl, setWsdlList, setWsdlLocation, setWsdlVersion, setXJCargs
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsdlOption

public WsdlOption()
Method Detail

getWsdl

public String getWsdl()

setWsdl

public void setWsdl(String w)

getWsdlArtifact

public WsdlArtifact getWsdlArtifact()

setWsdlArtifact

public void setWsdlArtifact(WsdlArtifact wsdlArtifact)

getWsdlFile

public File getWsdlFile(File baseDir)
Try to find a file matching the wsdl path (either absolutely, relatively to the current dir or to the project base dir)

Returns:
wsdl file

getWsdlURI

public URI getWsdlURI(URI baseURI)
               throws MojoExecutionException
Throws:
MojoExecutionException

isDefServiceName

public boolean isDefServiceName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

generateCommandLine

public List<String> generateCommandLine(File outputDirFile,
                                        URI basedir,
                                        URI wsdlURI,
                                        boolean debug)

Apache CXF API

Apache CXF