Class GeneratorBase
- java.lang.Object
-
- com.sun.xml.rpc.processor.generator.GeneratorBase
-
- All Implemented Interfaces:
InternalEncodingConstants,GeneratorConstants,LiteralTypeVisitor,ModelVisitor,SOAPTypeVisitor,ModelerConstants,ProcessorAction,GeneratorConstants
- Direct Known Subclasses:
CustomClassGenerator,CustomExceptionGenerator,EnumerationEncoderGenerator,EnumerationGenerator,FaultExceptionBuilderGenerator,HolderGenerator,InterfaceSerializerGenerator,LiteralObjectSerializerGenerator,SerializerRegistryGenerator,ServletConfigGenerator,SOAPFaultSerializerGenerator,SOAPObjectBuilderGenerator,SOAPObjectSerializerGenerator,StubTieGeneratorBase
public abstract class GeneratorBase extends Object implements GeneratorConstants, ProcessorAction, ModelVisitor, SOAPTypeVisitor, LiteralTypeVisitor
- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected SOAPVersioncurSOAPVersionprotected FiledestDirprotected booleandonotOverrideprotected booleanencodeTypesprotected ProcessorEnvironmentenvprotected booleangenerateSerializableIfprotected StringJAXRPCVersionprotected Modelmodelprotected booleanmultiRefEncodingprotected FilenonclassDestDirprotected IndentingWriteroutprotected booleanserializeInterfacesprotected Serviceserviceprotected StringservicePackageprotected FilesourceDirprotected StringtargetVersionprotected SerializerWriterFactorywriterFactory-
Fields inherited from interface com.sun.xml.rpc.processor.generator.GeneratorConstants
ARRAY, ARRAY_LITERAL_SERIALIZER_SUFFIX, ARRAY_SOAP_SERIALIZER_SUFFIX, ATTACHMENT_SERIALIZER_NAME, BASE_SERIALIZER_NAME, COLLECTION_INTERFACE_SERIALIZER_NAME, COLLECTION_SERIALIZER_NAME, DATA_HANDLER_ENCODER_NAME, DESERIALIZER_SUFFIX, DONT_ENCODE_TYPE_STR, DONT_SERIALIZE_AS_REF_STR, DOT_STR, DYNAMIC_SERIALIZER_NAME, ENCODE_TYPE_STR, FAULT_BUILDER_SUFFIX, FAULT_SOAPSERIALIZER_SUFFIX, FILE_TYPE_ENUMERATION, FILE_TYPE_ENUMERATION_ENCODER, FILE_TYPE_EXCEPTION, FILE_TYPE_FAULT_EXCEPTION_BUILDER, FILE_TYPE_HOLDER, FILE_TYPE_INTERFACE_SERIALIZER, FILE_TYPE_LITERAL_OBJECT_SERIALIZER, FILE_TYPE_SERIALIZER, FILE_TYPE_SERIALIZER_REGISTRY, FILE_TYPE_SERVICE_IMPL, FILE_TYPE_SERVLET_CONFIG, FILE_TYPE_SOAP_FAULT_SERIALIZER, FILE_TYPE_SOAP_OBJECT_BUILDER, FILE_TYPE_SOAP_OBJECT_SERIALIZER, FILE_TYPE_STUB, FILE_TYPE_TIE, FILE_TYPE_VALUETYPE, GET, HOLDER_SUFFIX, ID_REMOTE_EXCEPTION, ID_STUB_BASE, ID_TIE_BASE, IMAGE_ENCODER_NAME, IMPL_SUFFIX, IS, JAVA_PACKAGE_PREFIX, JAVA_SRC_SUFFIX, JAVAX_PACKAGE_PREFIX, JAX_RPC_MAP_ENTRY_SERIALIZER_NAME, LITERAL_FRAGMENT_SERIALIZER_NAME, LITERAL_SERIALIZER_SUFFIX, LITERAL_SIMPLE_TYPE_SERIALIZER_NAME, MAP_INTERFACE_SERIALIZER_NAME, MAP_SERIALIZER_NAME, MEMBER_PREFIX, MIME_MULTIPART_ENCODER_NAME, NOT_NULLABLE_STR, NOT_REFERENCEABLE_STR, NS_PREFIX, NULLABLE_STR, OPCODE_SUFFIX, QNAME_SUFFIX, REFERENCEABLE_SERIALIZER_NAME, REFERENCEABLE_STR, RESPONSE, SERIALIZE_AS_REF_STR, SERIALIZER_REGISTRY_SUFFIX, SERIALIZER_SUFFIX, SERVANT_SUFFIX, SERVICE_IMPL_SUFFIX, SERVICE_SUFFIX, SET, SIMPLE_MULTI_TYPE_SERIALIZER_NAME, SIMPLE_TYPE_SERIALIZER_NAME, SKELETON_SUFFIX, SOAP_BUILDER_SUFFIX, SOAP_INTERFACE_SERIALIZER_SUFFIX, SOAP_SERIALIZER_SUFFIX, SOAP_VERSION_11, SOAP_VERSION_12, SOAP12CONSTANTS_NS_SOAP_ENCODING, SOAPCONSTANTS_NS_SOAP_ENCODING, SOURCE_ENCODER_NAME, STUB_SUFFIX, TIE_SUFFIX, TYPE_QNAME_SUFFIX, UNDERSCORE, XSD_ANY_URI_ENCODER_NAME, XSD_BASE64_BINARY_ENCODER_NAME, XSD_BOOLEAN_ENCODER_NAME, XSD_BOXED_BASE64_BINARY_ENCODER_NAME, XSD_BOXED_HEX_BINARY_ENCODER_NAME, XSD_BYTE_ENCODER_NAME, XSD_DATE_ENCODER_NAME, XSD_DATE_TIME_CALENDAR_ENCODER_NAME, XSD_DATE_TIME_DATE_ENCODER_NAME, XSD_DECIMAL_ENCODER_NAME, XSD_DOUBLE_ENCODER_NAME, XSD_FLOAT_ENCODER_NAME, XSD_HEX_BINARY_ENCODER_NAME, XSD_INT_ENCODER_NAME, XSD_INTEGER_ENCODER_NAME, XSD_LIST_ENCODER_NAME, XSD_LIST_TYPE_ENCODER_NAME, XSD_LONG_ENCODER_NAME, XSD_NEGATIVE_INTEGER_ENCODER_NAME, XSD_NON_NEGATIVE_INTEGER_ENCODER_NAME, XSD_NON_POSITIVE_INTEGER_ENCODER_NAME, XSD_POSITIVE_INTEGER_ENCODER_NAME, XSD_QNAME_ENCODER_NAME, XSD_SHORT_ENCODER_NAME, XSD_STRING_ENCODER_NAME, XSD_TIME_ENCODER_NAME, XSD_UNSIGNED_BYTE_ENCODER_NAME, XSD_UNSIGNED_INT_ENCODER_NAME, XSD_UNSIGNED_LONG_ENCODER_NAME, XSD_UNSIGNED_SHORT_ENCODER_NAME
-
Fields inherited from interface com.sun.xml.rpc.spi.tools.GeneratorConstants
FILE_TYPE_REMOTE_INTERFACE, FILE_TYPE_SERVICE, FILE_TYPE_WSDL
-
Fields inherited from interface com.sun.xml.rpc.encoding.InternalEncodingConstants
ARRAY_ELEMENT_NAME, COLLECTION_ELEMENT_NAME, JAX_RPC_MAP_ENTRY_KEY_NAME, JAX_RPC_MAP_ENTRY_VALUE_NAME, JAXRPC_URI, QNAME_TYPE_ARRAY_LIST, QNAME_TYPE_COLLECTION, QNAME_TYPE_DATA_HANDLER, QNAME_TYPE_HASH_MAP, QNAME_TYPE_HASH_SET, QNAME_TYPE_HASHTABLE, QNAME_TYPE_IMAGE, QNAME_TYPE_JAX_RPC_MAP_ENTRY, QNAME_TYPE_LINKED_LIST, QNAME_TYPE_LIST, QNAME_TYPE_MAP, QNAME_TYPE_MIME_MULTIPART, QNAME_TYPE_PROPERTIES, QNAME_TYPE_SET, QNAME_TYPE_SOURCE, QNAME_TYPE_STACK, QNAME_TYPE_TREE_MAP, QNAME_TYPE_TREE_SET, QNAME_TYPE_VECTOR
-
Fields inherited from interface com.sun.xml.rpc.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_RPC_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
-
-
Constructor Summary
Constructors Modifier Constructor Description GeneratorBase()protectedGeneratorBase(Model model, Configuration config, Properties properties)
-
Method Summary
-
-
-
Field Detail
-
sourceDir
protected File sourceDir
-
destDir
protected File destDir
-
nonclassDestDir
protected File nonclassDestDir
-
env
protected ProcessorEnvironment env
-
model
protected Model model
-
service
protected Service service
-
out
protected IndentingWriter out
-
encodeTypes
protected boolean encodeTypes
-
multiRefEncoding
protected boolean multiRefEncoding
-
serializeInterfaces
protected boolean serializeInterfaces
-
writerFactory
protected SerializerWriterFactory writerFactory
-
curSOAPVersion
protected SOAPVersion curSOAPVersion
-
JAXRPCVersion
protected String JAXRPCVersion
-
targetVersion
protected String targetVersion
-
generateSerializableIf
protected boolean generateSerializableIf
-
donotOverride
protected boolean donotOverride
-
servicePackage
protected String servicePackage
-
-
Constructor Detail
-
GeneratorBase
public GeneratorBase()
-
GeneratorBase
protected GeneratorBase(Model model, Configuration config, Properties properties)
-
-
Method Detail
-
perform
public void perform(Model model, Configuration config, Properties properties)
- Specified by:
performin interfaceProcessorAction
-
getGenerator
public abstract GeneratorBase getGenerator(Model model, Configuration config, Properties properties)
-
getGenerator
public abstract GeneratorBase getGenerator(Model model, Configuration config, Properties properties, SOAPVersion ver)
-
doGeneration
protected void doGeneration()
-
visit
public void visit(Model model) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
visit
public void visit(Service service) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
postVisitService
protected void postVisitService(Service service) throws Exception
- Throws:
Exception
-
visit
public void visit(Port port) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
visit
public void visit(Operation operation) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
preVisitOperation
protected void preVisitOperation(Operation operation) throws Exception
- Throws:
Exception
-
visitOperation
protected void visitOperation(Operation operation) throws Exception
- Throws:
Exception
-
postVisitOperation
protected void postVisitOperation(Operation operation) throws Exception
- Throws:
Exception
-
visit
public void visit(Parameter param) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
preVisitParameter
protected void preVisitParameter(Parameter param) throws Exception
- Throws:
Exception
-
postVisitParameter
protected void postVisitParameter(Parameter param) throws Exception
- Throws:
Exception
-
visit
public void visit(Block block) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
visit
public void visit(Response response) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
preVisitResponse
protected void preVisitResponse(Response response) throws Exception
- Throws:
Exception
-
responseHeaderBlock
protected void responseHeaderBlock(Block block) throws Exception
- Throws:
Exception
-
responseAttachmentBlock
protected void responseAttachmentBlock(Block block) throws Exception
- Throws:
Exception
-
postVisitResponse
protected void postVisitResponse(Response response) throws Exception
- Throws:
Exception
-
visit
public void visit(Request request) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
requestHeaderBlock
protected void requestHeaderBlock(Block block) throws Exception
- Throws:
Exception
-
postVisitRequest
protected void postVisitRequest(Request request) throws Exception
- Throws:
Exception
-
visit
public void visit(Fault fault) throws Exception
- Specified by:
visitin interfaceModelVisitor- Throws:
Exception
-
visit
public void visit(SOAPCustomType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPCustomType
protected void preVisitSOAPCustomType(SOAPCustomType type) throws Exception
- Throws:
Exception
-
visitSOAPCustomType
protected void visitSOAPCustomType(SOAPCustomType type) throws Exception
- Throws:
Exception
-
postVisitSOAPCustomType
protected void postVisitSOAPCustomType(SOAPCustomType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPSimpleType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPSimpleType
protected void preVisitSOAPSimpleType(SOAPSimpleType type) throws Exception
- Throws:
Exception
-
visitSOAPSimpleType
protected void visitSOAPSimpleType(SOAPSimpleType type) throws Exception
- Throws:
Exception
-
postVisitSOAPSimpleType
protected void postVisitSOAPSimpleType(SOAPSimpleType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPAnyType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPAnyType
protected void preVisitSOAPAnyType(SOAPAnyType type) throws Exception
- Throws:
Exception
-
visitSOAPAnyType
protected void visitSOAPAnyType(SOAPAnyType type) throws Exception
- Throws:
Exception
-
postVisitSOAPAnyType
protected void postVisitSOAPAnyType(SOAPAnyType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPEnumerationType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPEnumerationType
protected void preVisitSOAPEnumerationType(SOAPEnumerationType type) throws Exception
- Throws:
Exception
-
visitSOAPEnumerationType
protected void visitSOAPEnumerationType(SOAPEnumerationType type) throws Exception
- Throws:
Exception
-
postVisitSOAPEnumerationType
protected void postVisitSOAPEnumerationType(SOAPEnumerationType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPListType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPArrayType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPArrayType
protected void preVisitSOAPArrayType(SOAPArrayType type) throws Exception
- Throws:
Exception
-
visitSOAPArrayType
protected void visitSOAPArrayType(SOAPArrayType type) throws Exception
- Throws:
Exception
-
postVisitSOAPArrayType
protected void postVisitSOAPArrayType(SOAPArrayType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPOrderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPOrderedStructureType
protected void preVisitSOAPOrderedStructureType(SOAPOrderedStructureType type) throws Exception
- Throws:
Exception
-
visitSOAPOrderedStructureType
protected void visitSOAPOrderedStructureType(SOAPOrderedStructureType type) throws Exception
- Throws:
Exception
-
postVisitSOAPOrderedStructureType
protected void postVisitSOAPOrderedStructureType(SOAPOrderedStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPUnorderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitSOAPUnorderedStructureType
protected void preVisitSOAPUnorderedStructureType(SOAPUnorderedStructureType type) throws Exception
- Throws:
Exception
-
visitSOAPUnorderedStructureType
protected void visitSOAPUnorderedStructureType(SOAPUnorderedStructureType type) throws Exception
- Throws:
Exception
-
postVisitSOAPUnorderedStructureType
protected void postVisitSOAPUnorderedStructureType(SOAPUnorderedStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(RPCRequestOrderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitRPCRequestOrderedStructureType
protected void preVisitRPCRequestOrderedStructureType(RPCRequestOrderedStructureType type) throws Exception
- Throws:
Exception
-
visitRPCRequestOrderedStructureType
protected void visitRPCRequestOrderedStructureType(RPCRequestOrderedStructureType type) throws Exception
- Throws:
Exception
-
postVisitRPCRequestOrderedStructureType
protected void postVisitRPCRequestOrderedStructureType(RPCRequestOrderedStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(RPCRequestUnorderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitRPCRequestUnorderedStructureType
protected void preVisitRPCRequestUnorderedStructureType(RPCRequestUnorderedStructureType type) throws Exception
- Throws:
Exception
-
visitRPCRequestUnorderedStructureType
protected void visitRPCRequestUnorderedStructureType(RPCRequestUnorderedStructureType type) throws Exception
- Throws:
Exception
-
postVisitRPCRequestUnorderedStructureType
protected void postVisitRPCRequestUnorderedStructureType(RPCRequestUnorderedStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(RPCResponseStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
preVisitRPCResponseStructureType
protected void preVisitRPCResponseStructureType(RPCResponseStructureType type) throws Exception
- Throws:
Exception
-
visitRPCResponseStructureType
protected void visitRPCResponseStructureType(RPCResponseStructureType type) throws Exception
- Throws:
Exception
-
postVisitRPCResponseStructureType
protected void postVisitRPCResponseStructureType(RPCResponseStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(SOAPStructureType type) throws Exception
- Throws:
Exception
-
preVisitSOAPStructureType
protected void preVisitSOAPStructureType(SOAPStructureType type) throws Exception
- Throws:
Exception
-
visitSOAPStructureType
protected void visitSOAPStructureType(SOAPStructureType type) throws Exception
- Throws:
Exception
-
postVisitSOAPStructureType
protected void postVisitSOAPStructureType(SOAPStructureType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralListType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visitLiteralListType
protected void visitLiteralListType(LiteralListType type) throws Exception
bug fix: 4900251- Parameters:
type-- Throws:
Exception
-
visitSOAPListType
protected void visitSOAPListType(SOAPListType type) throws Exception
bug fix: 4900251- Parameters:
type-- Throws:
Exception
-
visit
public void visit(LiteralIDType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralSimpleType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralSimpleType
protected void preVisitLiteralSimpleType(LiteralSimpleType type) throws Exception
- Throws:
Exception
-
visitLiteralSimpleType
protected void visitLiteralSimpleType(LiteralSimpleType type) throws Exception
- Throws:
Exception
-
postVisitLiteralSimpleType
protected void postVisitLiteralSimpleType(LiteralSimpleType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralSequenceType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralSequenceType
protected void preVisitLiteralSequenceType(LiteralSequenceType type) throws Exception
- Throws:
Exception
-
visitLiteralSequenceType
protected void visitLiteralSequenceType(LiteralSequenceType type) throws Exception
- Throws:
Exception
-
postVisitLiteralSequenceType
protected void postVisitLiteralSequenceType(LiteralSequenceType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralAllType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralAllType
protected void preVisitLiteralAllType(LiteralAllType type) throws Exception
- Throws:
Exception
-
visitLiteralAllType
protected void visitLiteralAllType(LiteralAllType type) throws Exception
- Throws:
Exception
-
postVisitLiteralAllType
protected void postVisitLiteralAllType(LiteralAllType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralArrayType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralArrayType
protected void preVisitLiteralArrayType(LiteralArrayType type) throws Exception
- Throws:
Exception
-
visitLiteralArrayType
protected void visitLiteralArrayType(LiteralArrayType type) throws Exception
- Throws:
Exception
-
postVisitLiteralArrayType
protected void postVisitLiteralArrayType(LiteralArrayType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralArrayWrapperType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralArrayWrapperType
protected void preVisitLiteralArrayWrapperType(LiteralArrayWrapperType type) throws Exception
- Throws:
Exception
-
visitLiteralArrayWrapperType
protected void visitLiteralArrayWrapperType(LiteralArrayWrapperType type) throws Exception
- Throws:
Exception
-
postVisitLiteralArrayWrapperType
protected void postVisitLiteralArrayWrapperType(LiteralArrayWrapperType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralFragmentType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralFragmentType
protected void preVisitLiteralFragmentType(LiteralFragmentType type) throws Exception
- Throws:
Exception
-
visitLiteralFragmentType
protected void visitLiteralFragmentType(LiteralFragmentType type) throws Exception
- Throws:
Exception
-
postVisitLiteralFragmentType
protected void postVisitLiteralFragmentType(LiteralFragmentType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralEnumerationType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralEnumerationType
public void preVisitLiteralEnumerationType(LiteralEnumerationType type) throws Exception
- Throws:
Exception
-
visitLiteralEnumerationType
public void visitLiteralEnumerationType(LiteralEnumerationType type) throws Exception
- Throws:
Exception
-
postVisitLiteralEnumerationType
public void postVisitLiteralEnumerationType(LiteralEnumerationType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralAttachmentType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
preVisitLiteralAttachmentType
protected void preVisitLiteralAttachmentType(LiteralAttachmentType type) throws Exception
- Throws:
Exception
-
visitLiteralAttachmentType
protected void visitLiteralAttachmentType(LiteralAttachmentType type) throws Exception
- Throws:
Exception
-
postVisitLiteralAttachmentType
protected void postVisitLiteralAttachmentType(LiteralAttachmentType type) throws Exception
- Throws:
Exception
-
writeWarning
protected void writeWarning(IndentingWriter p) throws IOException
- Throws:
IOException
-
writeWarning
public static void writeWarning(IndentingWriter p, String version, String targetVersion) throws IOException
- Throws:
IOException
-
writePackage
public void writePackage(IndentingWriter p, String classNameStr) throws IOException
- Throws:
IOException
-
writePackage
public static void writePackage(IndentingWriter p, String classNameStr, String version, String sourceVersion) throws IOException
- Throws:
IOException
-
writePackageOnly
public static void writePackageOnly(IndentingWriter p, String classNameStr) throws IOException
- Throws:
IOException
-
log
protected void log(String msg)
-
warn
protected void warn(String key)
-
info
protected void info(String key)
-
fail
protected static void fail(String key)
-
fail
protected static void fail(Localizable arg)
-
fail
protected static void fail(Throwable arg)
-
-