public abstract class StubTieGeneratorBase extends GeneratorBase
| Modifier and Type | Field and Description |
|---|---|
protected HashSet |
operations |
protected Port |
port |
protected Map |
portTypes |
protected SOAPEncodingConstants |
soapEncodingConstants |
protected SOAPNamespaceConstants |
soapNamespaceConstants |
protected SOAPVersion |
soapVer |
protected SOAPWSDLConstants |
soapWSDLConstants |
protected File |
srcFile |
protected Set |
types |
curSOAPVersion, destDir, donotOverride, encodeTypes, env, generateSerializableIf, JAXRPCVersion, model, multiRefEncoding, nonclassDestDir, out, serializeInterfaces, service, servicePackage, sourceDir, targetVersion, writerFactoryARRAY, 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_NAMEARRAY_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_STRARRAY_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_VECTORFILE_TYPE_REMOTE_INTERFACE, FILE_TYPE_SERVICE, FILE_TYPE_WSDL| Modifier | Constructor and Description |
|---|---|
|
StubTieGeneratorBase() |
protected |
StubTieGeneratorBase(Model model,
Configuration config,
Properties properties) |
protected |
StubTieGeneratorBase(Model model,
Configuration config,
Properties properties,
SOAPVersion ver) |
|
StubTieGeneratorBase(SOAPVersion ver) |
doGeneration, fail, fail, fail, fail, fail, getGenerator, getGenerator, info, info, log, perform, postVisitBlock, postVisitFault, postVisitLiteralAllType, postVisitLiteralArrayType, postVisitLiteralArrayWrapperType, postVisitLiteralAttachmentType, postVisitLiteralEnumerationType, postVisitLiteralFragmentType, postVisitLiteralSequenceType, postVisitLiteralSimpleType, postVisitParameter, postVisitRequest, postVisitResponse, postVisitRPCRequestOrderedStructureType, postVisitRPCRequestUnorderedStructureType, postVisitRPCResponseStructureType, postVisitService, postVisitSOAPAnyType, postVisitSOAPArrayType, postVisitSOAPCustomType, postVisitSOAPEnumerationType, postVisitSOAPOrderedStructureType, postVisitSOAPSimpleType, postVisitSOAPStructureType, postVisitSOAPUnorderedStructureType, preVisitBlock, preVisitFault, preVisitLiteralAllType, preVisitLiteralArrayType, preVisitLiteralArrayWrapperType, preVisitLiteralAttachmentType, preVisitLiteralEnumerationType, preVisitLiteralSequenceType, preVisitLiteralSimpleType, preVisitOperation, preVisitParameter, preVisitRequest, preVisitResponse, preVisitRPCRequestOrderedStructureType, preVisitRPCRequestUnorderedStructureType, preVisitRPCResponseStructureType, preVisitService, preVisitSOAPAnyType, preVisitSOAPCustomType, preVisitSOAPOrderedStructureType, preVisitSOAPSimpleType, preVisitSOAPUnorderedStructureType, responseAttachmentBlock, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitBlock, visitFault, visitLiteralAllType, visitLiteralArrayType, visitLiteralArrayWrapperType, visitLiteralAttachmentType, visitLiteralEnumerationType, visitLiteralFragmentType, visitLiteralListType, visitLiteralSequenceType, visitLiteralSimpleType, visitModel, visitOperation, visitParameter, visitPort, visitRequest, visitResponse, visitRPCRequestOrderedStructureType, visitRPCRequestUnorderedStructureType, visitRPCResponseStructureType, visitService, visitSOAPAnyType, visitSOAPArrayType, visitSOAPCustomType, visitSOAPEnumerationType, visitSOAPListType, visitSOAPOrderedStructureType, visitSOAPSimpleType, visitSOAPStructureType, visitSOAPUnorderedStructureType, warn, warn, warn, writePackage, writePackage, writePackageOnly, writeWarning, writeWarningprotected Port port
protected HashSet operations
protected Set types
protected Map portTypes
protected File srcFile
protected SOAPVersion soapVer
protected SOAPEncodingConstants soapEncodingConstants
protected SOAPNamespaceConstants soapNamespaceConstants
protected SOAPWSDLConstants soapWSDLConstants
public StubTieGeneratorBase()
public StubTieGeneratorBase(SOAPVersion ver)
protected StubTieGeneratorBase(Model model, Configuration config, Properties properties, SOAPVersion ver)
protected StubTieGeneratorBase(Model model, Configuration config, Properties properties)
protected String getPrefix()
protected abstract String getClassName()
protected abstract String getStateType()
protected abstract String getStateGetRequestResponseString()
protected abstract String getInitializeAccess()
protected abstract boolean superClassHasInitialize()
protected void preVisitModel(Model model) throws Exception
preVisitModel in class GeneratorBaseExceptionprotected void postVisitModel(Model model) throws Exception
postVisitModel in class GeneratorBaseExceptionprotected void preVisitPort(Port port) throws Exception
preVisitPort in class GeneratorBaseExceptionprotected void postVisitPort(Port port) throws Exception
postVisitPort in class GeneratorBaseExceptionprotected void postVisitOperation(Operation operation) throws Exception
postVisitOperation in class GeneratorBaseExceptionprotected void responseBodyBlock(Block block) throws Exception
responseBodyBlock in class GeneratorBaseExceptionprotected void responseHeaderBlock(Block block) throws Exception
responseHeaderBlock in class GeneratorBaseExceptionprotected void requestBodyBlock(Block block) throws Exception
requestBodyBlock in class GeneratorBaseExceptionprotected void requestHeaderBlock(Block block) throws Exception
requestHeaderBlock in class GeneratorBaseExceptionprotected void preVisitSOAPEnumerationType(SOAPEnumerationType type) throws Exception
preVisitSOAPEnumerationType in class GeneratorBaseExceptionprotected void preVisitSOAPArrayType(SOAPArrayType type) throws Exception
preVisitSOAPArrayType in class GeneratorBaseExceptionprotected void preVisitSOAPStructureType(SOAPStructureType type) throws Exception
preVisitSOAPStructureType in class GeneratorBaseExceptionprotected void preVisitLiteralFragmentType(LiteralFragmentType type) throws Exception
preVisitLiteralFragmentType in class GeneratorBaseExceptionprotected void writeClass()
protected void writeAttachmentHooks(IndentingWriter out) throws IOException
out - IOExceptionprotected void writeHooks(IndentingWriter out) throws IOException
out - IOExceptionprotected void writeImports(IndentingWriter p) throws IOException
IOExceptionprotected void writeStatic(IndentingWriter p) throws IOException
IOExceptionprotected void writeClassDecl(IndentingWriter p, String className) throws IOException
IOExceptionprotected void writeConstructor(IndentingWriter p, String stubClassName) throws IOException
IOExceptionprotected void writeOperations(IndentingWriter p, String remoteClassName) throws IOException
IOExceptionprotected void writeRpcEncodedOperation(IndentingWriter p, String remoteClassName, Operation operation) throws IOException, GeneratorException
IOExceptionGeneratorExceptionprotected void writeRpcLiteralOperation(IndentingWriter p, String remoteClassName, Operation operation) throws IOException, GeneratorException
IOExceptionGeneratorExceptionprotected void writeDocumentLiteralOperation(IndentingWriter p, String remoteClassName, Operation operation) throws IOException, GeneratorException
IOExceptionGeneratorExceptionprotected void writePeekFirstBodyElementMethod(IndentingWriter p) throws IOException
IOExceptionprotected void writePreSendingHookMethod(IndentingWriter p, List operations) throws IOException
IOExceptionprotected void writePostSendingHook(IndentingWriter p, List operations) throws IOException
IOExceptionprotected void writePostEnvelopeReadingHook(IndentingWriter p, List operations) throws IOException
IOExceptionprotected void writePreResponseWritingHook(IndentingWriter p, List operations) throws IOException
IOExceptionprotected void writeReadFirstBodyElement(IndentingWriter p) throws IOException
IOExceptionprotected Operation operationHasEmptyBody(Operation operation)
Operation has an empty bodyoperation - the Operation to checkprotected boolean needsReadFirstBodyElementFor(Operation operation)
protected void writeHandleEmptyBody(IndentingWriter p, Operation operation) throws IOException
IOExceptionprotected void writeReadFirstBodyElementDefault(IndentingWriter p, String state) throws IOException
IOExceptionprotected void writeReadBodyFaultElement(IndentingWriter p) throws IOException
IOExceptionprotected Map writeReadHeaderElementMethod(IndentingWriter p) throws IOException
IOExceptionprotected void writeProcessingHookMethod(IndentingWriter p) throws IOException
IOExceptionpublic String getEncodingStyle()
public void writeGenericMethods(IndentingWriter p) throws IOException
IOExceptionprotected void writeUsesSOAPActionForDispatching(IndentingWriter p) throws IOException
IOExceptionprotected void writeGetOpcodeForFirstBodyElementName(IndentingWriter p) throws IOException
IOExceptionprotected void writeGetOpcodeForSOAPAction(IndentingWriter p) throws IOException
IOExceptionprotected void writeGetMethodForOpcode(IndentingWriter p) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected void writeGetDefaultEnvelopeEncodingStyle(IndentingWriter p) throws IOException
IOExceptionprotected void writeGetUnderstoodHeadersMethod(IndentingWriter p) throws IOException
IOExceptionprotected void writeInitialize(IndentingWriter p) throws IOException
IOExceptionprotected void writeStaticMembers(IndentingWriter p, Map headerMap) throws IOException
IOExceptionprotected void writeAddAttachmentMethod(IndentingWriter p) throws IOException
IOExceptionprotected void writeGetAttachmentMethod(IndentingWriter p) throws IOException
IOExceptionprotected void setAddAttachmentMethodFlag(boolean value)
protected void setGetAttachmentMethodFlag(boolean value)
protected boolean getAddAttachmentMethodFlag()
protected boolean getGetAttachmentMethodFlag()
protected abstract void writeUnderstoodHeadersMember(IndentingWriter p, Map headerMap) throws IOException
IOExceptionprotected static void collectNamespaces(AbstractType type, List list, List visited)
public static JavaStructureMember getJavaMember(Parameter parameter)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.