org.apache.cxf.tools.wsdlto.javascript
Class JavaScriptContainer
java.lang.Object
org.apache.cxf.tools.common.toolspec.AbstractToolContainer
org.apache.cxf.tools.common.AbstractCXFToolContainer
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer
org.apache.cxf.tools.wsdlto.javascript.JavaScriptContainer
- All Implemented Interfaces:
- ToolContainer
public class JavaScriptContainer
- extends WSDLToJavaContainer
Methods inherited from class org.apache.cxf.tools.common.AbstractCXFToolContainer |
createClassCollector, getDefaultExcludedNamespaces, getFileBase, getFileName, getParametersMap, getToolName, getUsage, hasInfoOption, isVerboseOn, loadProperties, loadProperties, outputFullCommandLine, outputVersion, printUsageException |
Methods inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer |
getArgument, getBus, getCatalogURL, getCommandDocument, getCommandLineParser, getContext, getErrOutputStream, getOutOutputStream, init, isQuietMode, isVerboseMode, parseCommandLine, redirectOutput, setArguments, setContext, setErrOutputStream, setMode, setOutOutputStream, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptContainer
public JavaScriptContainer(ToolSpec toolspec)
throws Exception
- Throws:
Exception
getArrayKeys
public Set<String> getArrayKeys()
- Overrides:
getArrayKeys
in class WSDLToJavaContainer
getWSDLVersion
public WSDLConstants.WSDLVersion getWSDLVersion()
- Overrides:
getWSDLVersion
in class WSDLToJavaContainer
execute
public void execute()
throws ToolException
- Overrides:
execute
in class WSDLToJavaContainer
- Throws:
ToolException
execute
public void execute(boolean exitOnFinish)
throws ToolException
- Specified by:
execute
in interface ToolContainer
- Overrides:
execute
in class WSDLToJavaContainer
- Throws:
ToolException
setNamespaceJavascriptPrefixes
public void setNamespaceJavascriptPrefixes(ToolContext env)
validate
public void validate(ToolContext env)
throws ToolException
- Overrides:
validate
in class WSDLToJavaContainer
- Throws:
ToolException
buildToolContext
public void buildToolContext()
- Overrides:
buildToolContext
in class WSDLToJavaContainer
checkParams
public void checkParams(ErrorVisitor errors)
throws ToolException
- Description copied from class:
AbstractCXFToolContainer
- Check command-line parameters for validity. Since subclasses delegate down to here,
this cannot complain about unwanted options.
- Overrides:
checkParams
in class WSDLToJavaContainer
- Parameters:
errors
- place to report errors.
- Throws:
ToolException
- for impossible options.
validate
public void validate(ServiceInfo service)
throws ToolException
- Overrides:
validate
in class WSDLToJavaContainer
- Throws:
ToolException
getServiceValidators
public List<ServiceValidator> getServiceValidators()
- Overrides:
getServiceValidators
in class WSDLToJavaContainer
Apache CXF