Class WsdlOption
java.lang.Object
org.apache.cxf.maven_plugin.wsdl2java.Option
org.apache.cxf.maven_plugin.wsdl2java.WsdlOption
- All Implemented Interfaces:
GenericWsdlOption
-
Field Summary
Fields inherited from class org.apache.cxf.maven_plugin.wsdl2java.Option
asyncMethods, bareMethods, extraargs, mimeMethods, outputDir, packagenames, xjcargs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
generateCommandLine
(File outputDirFile, URI basedir, URI wsdlURI, boolean debug) getUri()
Return a string pointing to the WSDL.getWsdl()
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)getWsdlURI
(URI baseURI) int
hashCode()
boolean
void
setArtifact
(WsdlArtifact artifact) void
void
void
setWsdlArtifact
(WsdlArtifact wsdlArtifact) toString()
Methods inherited from class org.apache.cxf.maven_plugin.wsdl2java.Option
addBindingFile, addDefaultBindingFileIfExists, copyOptions, getAsyncMethods, getBareMethods, getBindingFiles, getCatalog, getDataBinding, getDefaultExcludesNamespace, getDefaultNamespacePackageMapping, getDeleteDirs, getDependencies, getDependencyURIs, getExceptionSuper, getExtraargs, getFaultSerialVersionUID, getFrontEnd, getMimeMethods, getNamespaceExcludes, getOutputDir, getPackagenames, getSeiSuper, getServiceName, getValidateWsdl, getWsdlLocation, getWsdlVersion, getXJCargs, isAllowElementRefs, isAutoNameResolution, isExtendedSoapHeaders, isMarkGenerated, isNoAddressBinding, isNoTypes, isSetWsdlLocation, isSuppressGeneratedDate, 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, setSeiSuper, setServiceName, setSuppressGeneratedDate, setValidate, setValidateWsdl, setWsdlList, setWsdlLocation, setWsdlVersion, setXJCargs
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cxf.maven_plugin.GenericWsdlOption
getDeleteDirs, getOutputDir, setOutputDir
-
Constructor Details
-
WsdlOption
public WsdlOption()
-
-
Method Details
-
getWsdl
-
setWsdl
-
getWsdlArtifact
-
setArtifact
- Specified by:
setArtifact
in interfaceGenericWsdlOption
-
setWsdlArtifact
-
getWsdlFile
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
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
isDefServiceName
public boolean isDefServiceName() -
hashCode
public int hashCode() -
equals
-
toString
-
generateCommandLine
public List<String> generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug) - Specified by:
generateCommandLine
in interfaceGenericWsdlOption
-
getArtifact
- Specified by:
getArtifact
in interfaceGenericWsdlOption
-
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
- Specified by:
setUri
in interfaceGenericWsdlOption
-