com.sun.tools.ws.processor.generator
Class GeneratorBase
java.lang.Object
com.sun.tools.ws.processor.generator.GeneratorBase
- All Implemented Interfaces:
- GeneratorConstants, ModelVisitor, ModelerConstants
- Direct Known Subclasses:
- CustomExceptionGenerator, JwsImplGenerator, SeiGenerator, ServiceGenerator
public abstract class GeneratorBase
- extends java.lang.Object
- implements GeneratorConstants, ModelVisitor
- Author:
- WS Development Team
| Fields inherited from interface com.sun.tools.ws.processor.modeler.ModelerConstants |
ARRAY_LIST_CLASSNAME, ARRAY_STR, BIGDECIMAL_CLASSNAME, BIGINTEGER_CLASSNAME, BOOLEAN_CLASSNAME, BOXED_BOOLEAN_CLASSNAME, BOXED_BYTE_ARRAY_CLASSNAME, BOXED_BYTE_CLASSNAME, BOXED_CHAR_CLASSNAME, BOXED_DOUBLE_CLASSNAME, BOXED_FLOAT_CLASSNAME, BOXED_INTEGER_CLASSNAME, BOXED_LONG_CLASSNAME, BOXED_SHORT_CLASSNAME, BRACKETS, BYTE_ARRAY_CLASSNAME, BYTE_CLASSNAME, CALENDAR_CLASSNAME, CHAR_CLASSNAME, CLASS_CLASSNAME, COLLECTION_CLASSNAME, DATA_HANDLER_CLASSNAME, DATE_CLASSNAME, DOUBLE_CLASSNAME, FALSE_STR, FLOAT_CLASSNAME, HASH_MAP_CLASSNAME, HASH_SET_CLASSNAME, HASHTABLE_CLASSNAME, IMAGE_CLASSNAME, INT_CLASSNAME, IOEXCEPTION_CLASSNAME, JAX_WS_MAP_ENTRY_CLASSNAME, LINKED_LIST_CLASSNAME, LIST_CLASSNAME, LONG_CLASSNAME, MAP_CLASSNAME, MIME_MULTIPART_CLASSNAME, NULL_STR, OBJECT_CLASSNAME, PROPERTIES_CLASSNAME, QNAME_CLASSNAME, SET_CLASSNAME, SHORT_CLASSNAME, SOAPELEMENT_CLASSNAME, SOURCE_CLASSNAME, STACK_CLASSNAME, STRING_ARRAY_CLASSNAME, STRING_CLASSNAME, TREE_MAP_CLASSNAME, TREE_SET_CLASSNAME, URI_CLASSNAME, VECTOR_CLASSNAME, VOID_CLASSNAME, ZERO_STR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
donotOverride
protected boolean donotOverride
cm
protected JCodeModel cm
model
protected Model model
wsdlLocation
protected java.lang.String wsdlLocation
receiver
protected ErrorReceiver receiver
options
protected WsimportOptions options
GeneratorBase
protected GeneratorBase()
init
public void init(Model model,
WsimportOptions options,
ErrorReceiver receiver)
doGeneration
public void doGeneration()
visit
public void visit(Model model)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Service service)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Port port)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Operation operation)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Parameter param)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Block block)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Response response)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Request request)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
visit
public void visit(Fault fault)
throws java.lang.Exception
- Specified by:
visit in interface ModelVisitor
- Throws:
java.lang.Exception
getJAXWSClassComment
public java.util.List<java.lang.String> getJAXWSClassComment()
getJAXWSClassComment
public static java.util.List<java.lang.String> getJAXWSClassComment(java.lang.String targetVersion)
getClass
protected JDefinedClass getClass(java.lang.String className,
ClassType type)
throws JClassAlreadyExistsException
- Throws:
JClassAlreadyExistsException
log
protected void log(java.lang.String msg)
writeHandlerConfig
protected void writeHandlerConfig(java.lang.String className,
JDefinedClass cls,
WsimportOptions options)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.