Apache CXF API

org.apache.cxf.tools.wsdlto.javascript
Class JavaScriptContainer

java.lang.Object
  extended by org.apache.cxf.tools.common.toolspec.AbstractToolContainer
      extended by org.apache.cxf.tools.common.AbstractCXFToolContainer
          extended by org.apache.cxf.tools.wsdlto.WSDLToJavaContainer
              extended by org.apache.cxf.tools.wsdlto.javascript.JavaScriptContainer
All Implemented Interfaces:
ToolContainer

public class JavaScriptContainer
extends WSDLToJavaContainer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer
AbstractToolContainer.GenericOutputStream
 
Field Summary
 
Fields inherited from class org.apache.cxf.tools.wsdlto.WSDLToJavaContainer
LOG
 
Fields inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer
context, err, out, toolspec
 
Constructor Summary
JavaScriptContainer(ToolSpec toolspec)
           
 
Method Summary
 void buildToolContext()
           
 void checkParams(ErrorVisitor errors)
          Check command-line parameters for validity.
 void execute()
           
 void execute(boolean exitOnFinish)
           
 Set<String> getArrayKeys()
           
 List<ServiceValidator> getServiceValidators()
           
 WSDLConstants.WSDLVersion getWSDLVersion()
           
 void setNamespaceJavascriptPrefixes(ToolContext env)
           
 void validate(ServiceInfo service)
           
 void validate(ToolContext env)
           
 
Methods inherited from class org.apache.cxf.tools.wsdlto.WSDLToJavaContainer
generateTypes, getResourceAsStream, getServiceQName, loadDefaultNSPackageMapping, passthrough, removeExcludeFiles, setAntProperties, setExcludePackageAndNamespaces, setLibraryReferences, setPackageAndNamespaces
 
Methods inherited from class org.apache.cxf.tools.common.AbstractCXFToolContainer
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
 

Constructor Detail

JavaScriptContainer

public JavaScriptContainer(ToolSpec toolspec)
                    throws Exception
Throws:
Exception
Method Detail

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 API

Apache CXF