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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerateCommandLine(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) inthashCode()booleanvoidsetArtifact(WsdlArtifact artifact) voidvoidvoidsetWsdlArtifact(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, setXJCargsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
setArtifactin 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:
generateCommandLinein interfaceGenericWsdlOption
-
getArtifact
- Specified by:
getArtifactin interfaceGenericWsdlOption
-
getUri
Description copied from interface:GenericWsdlOptionReturn a string pointing to the WSDL. Might be a plain path, might be a full URI.- Specified by:
getUriin interfaceGenericWsdlOption- Returns:
-
setUri
- Specified by:
setUriin interfaceGenericWsdlOption
-