org.apache.cxf.maven_plugin.wsdl2java
Class WsdlOption
java.lang.Object
org.apache.cxf.maven_plugin.wsdl2java.Option
org.apache.cxf.maven_plugin.wsdl2java.WsdlOption
- All Implemented Interfaces:
- GenericWsdlOption
public class WsdlOption
- extends Option
- implements GenericWsdlOption
Methods inherited from class org.apache.cxf.maven_plugin.wsdl2java.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 |
WsdlOption
public WsdlOption()
getWsdl
public String getWsdl()
setWsdl
public void setWsdl(String w)
getWsdlArtifact
public WsdlArtifact getWsdlArtifact()
setArtifact
public void setArtifact(WsdlArtifact artifact)
- Specified by:
setArtifact
in interface GenericWsdlOption
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)
- Specified by:
generateCommandLine
in interface GenericWsdlOption
getArtifact
public WsdlArtifact getArtifact()
- Specified by:
getArtifact
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
Apache CXF