Apache CXF API

org.apache.cxf.tools.java2js
Class JavaToJS

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.java2js.JavaToJS
All Implemented Interfaces:
ToolContainer

public class JavaToJS
extends AbstractCXFToolContainer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer
AbstractToolContainer.GenericOutputStream
 
Field Summary
static String TOOL_NAME
           
 
Fields inherited from class org.apache.cxf.tools.common.AbstractCXFToolContainer
LOG
 
Fields inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer
context, err, out, toolspec
 
Constructor Summary
JavaToJS(ToolSpec toolspec)
           
 
Method Summary
 void checkParams(ErrorVisitor errors)
          Check command-line parameters for validity.
 void execute(boolean exitOnFinish)
           
static void main(String[] pargs)
           
 
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
 

Field Detail

TOOL_NAME

public static final String TOOL_NAME
See Also:
Constant Field Values
Constructor Detail

JavaToJS

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

execute

public void execute(boolean exitOnFinish)
Specified by:
execute in interface ToolContainer
Overrides:
execute in class AbstractCXFToolContainer

main

public static void main(String[] pargs)

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 AbstractCXFToolContainer
Parameters:
errors - place to report errors.
Throws:
ToolException - for impossible options.

Apache CXF API

Apache CXF