Class Option
- java.lang.Object
-
- org.apache.cxf.maven_plugin.wsdl2js.Option
-
- Direct Known Subclasses:
WsdlOption
public class Option extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Option.UriPrefixPair
Since an arbitrary URI can't be an XML element name, these pairs are used to specify a mapping from URI to prefix.
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getCatalog()
File[]
getDependencies()
File
getOutput()
File
getOutputDir()
Option.UriPrefixPair[]
getPackagePrefixes()
String
getValidate()
String
getWsdlVersion()
void
merge(Option other)
void
setCatalog(File catalog)
Set catalog used to resolve XML URIs in the wsdl.void
setDependencies(File[] dependencies)
void
setOutput(File output)
Set the output directory.void
setOutputDir(File outputDir)
void
setPackagePrefixes(Option.UriPrefixPair[] packagePrefixes)
Set the mappings from namespace URI to Javascript name prefixes.void
setValidate(String validate)
Control WSDL validation.void
setWsdlVersion(String wsdlVersion)
String
toString()
-
-
-
Method Detail
-
merge
public void merge(Option other)
-
getPackagePrefixes
public Option.UriPrefixPair[] getPackagePrefixes()
- Returns:
- mappings from namespace URI to javascript name prefix.
-
setPackagePrefixes
public void setPackagePrefixes(Option.UriPrefixPair[] packagePrefixes)
Set the mappings from namespace URI to Javascript name prefixes.- Parameters:
packagePrefixes
-
-
getCatalog
public File getCatalog()
- Returns:
- catalog used to resolve XML URIs in the wsdl.
-
setCatalog
public void setCatalog(File catalog)
Set catalog used to resolve XML URIs in the wsdl.- Parameters:
catalog
- catalog.
-
getOutput
public File getOutput()
- Returns:
- output directory. Default is set at the plugin level.
-
setOutput
public void setOutput(File output)
Set the output directory.- Parameters:
output
- output directory.
-
getValidate
public String getValidate()
- Returns:
- Validating the WSDL?
-
setValidate
public void setValidate(String validate)
Control WSDL validation.- Parameters:
validate
- true or all to validate.
-
getOutputDir
public File getOutputDir()
-
setOutputDir
public void setOutputDir(File outputDir)
-
getWsdlVersion
public String getWsdlVersion()
-
setWsdlVersion
public void setWsdlVersion(String wsdlVersion)
-
getDependencies
public File[] getDependencies()
-
setDependencies
public void setDependencies(File[] dependencies)
-
-