Apache CXF API

org.apache.cxf.maven_plugin.wsdl2js
Class Option

java.lang.Object
  extended by org.apache.cxf.maven_plugin.wsdl2js.Option
Direct Known Subclasses:
WsdlOption

public class Option
extends Object


Nested Class Summary
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
Option()
           
 
Method Summary
 File getCatalog()
           
 File[] getDependencies()
           
 File getOutput()
           
 File getOutputDir()
           
 Option.UriPrefixPair[] getPackagePrefixes()
           
 String getWsdlVersion()
           
 Boolean isValidate()
           
 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(Boolean validate)
          Control WSDL validation.
 void setWsdlVersion(String wsdlVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
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.

isValidate

public Boolean isValidate()
Returns:
Validating the WSDL?

setValidate

public void setValidate(Boolean validate)
Control WSDL validation.

Parameters:
validate - true 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)

toString

public String toString()
Overrides:
toString in class Object

Apache CXF API

Apache CXF