public abstract class JAXWSEmitter extends AxisServiceBasedMultiLanguageEmitter
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
EXCEPTION_SUFFIX |
protected static java.lang.String |
JAXWS_IMPL_SUFFIX |
protected static java.lang.String |
JAXWS_PORT_TYPE_NAME |
protected static java.lang.String |
SERVICE_SUFFIX |
protected static java.lang.String |
TYPE_SUFFIX |
allServiceInfoHolder, axisBinding, axisEndpoint, axisService, axisServices, CALL_BACK_HANDLER_SUFFIX, codeGenConfiguration, constructorMap, DATABINDING_SUPPORTER_NAME_SUFFIX, faultClassNameMap, faultElementQNameMap, fullyQualifiedFaultClassNameMap, infoHolder, instantiatableMessageClassNames, log, mapper, mepToClassMap, mepToSuffixMap, MESSAGE_RECEIVER_SUFFIX, resolver, SKELETON_CLASS_SUFFIX, SKELETON_CLASS_SUFFIX_BACK, SKELETON_INTERFACE_SUFFIX, SKELETON_INTERFACE_SUFFIX_BACK, STUB_INTERFACE_SUFFIX_BACK, STUB_SUFFIX, TEST_SRC_DIR_NAME, TEST_SUFFIX, uniqueFaultNameCounter, useHolderClass_jaxws, wrapped_jaxws| Constructor and Description |
|---|
JAXWSEmitter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.w3c.dom.Document |
createDOMDocumentForException(java.lang.String key)
Creates the XML model for a Exception Class
|
protected abstract org.w3c.dom.Document |
createDOMDocumentForSEI()
Creates the XML model for the Service Endpoint interface
|
protected abstract org.w3c.dom.Document |
createDOMDocumentForSEIImpl()
Creates the XML model for the Service Endpoint interface Implementation class
|
protected abstract org.w3c.dom.Document |
createDOMDocumentForServiceClass()
Creates the XML model for the Service Class
|
protected org.w3c.dom.Document |
createDOMDocumentForServiceXML() |
void |
emitSkeleton()
Emits the skeleton
|
java.lang.String |
extratClassName(java.lang.String fullyQualifiedName) |
protected java.lang.String |
getFullyQualifiedName(java.lang.String className,
java.lang.String packageName) |
protected org.w3c.dom.Element |
getServiceElement(java.lang.String serviceName,
java.lang.String className,
org.w3c.dom.Document doc)
A resusable method to return the service element for creating the service xml
|
protected java.lang.String |
resolveNameCollision(java.lang.String className,
java.lang.String packageName,
java.lang.String suffix) |
void |
setCodeGenConfiguration(CodeGenConfiguration configuration)
Sets the relevant codegen configuration
|
protected void |
writeExceptions()
Writes the exception calsses.
|
protected void |
writeServiceClass()
Write the service class
|
protected void |
writeServiceEndpointInterface()
Write the service endpoint interface
|
protected void |
writeServiceEndpointInterfaceImpl() |
addAttribute, addElement, addEndpoint, addFaultMessages, addHeaderOperations, addHeaderOperationsToFault, addShortType, addSOAPAction, addSoapVersion, copyMap, copyToFaultMap, createDocumentForMessageReceiver, createDOMDocumentForAntBuild, createDOMDocumentForCallbackHandler, createDOMDocumentForException, createDOMDocumentForInterface, createDOMDocumentForInterfaceImplementation, createDOMDocumentForSkeleton, createDOMDocumentForSkeletonInterface, createDOMDocumentForTestCase, createDOMElementforDatabinders, debugLogDocument, emitStub, fillSyncAttributes, generateAndPopulateFaultNames, generateMethodElement, generateOptionParamComponent, generateParamComponent, generateParamComponent, generateParamComponent, getBase64Elements, getBindingPolicyFromMessage, getBindingPropertyFromMessage, getBindingPropertyFromMessageFault, getBindingPropertyFromOperation, getEmptyDocument, getFaultElement, getFaultParamElements, getFullyQualifiedMessageReceiverName, getFullyQualifiedSkeletonInterfaceName, getFullyQualifiedSkeletonName, getFullyQualifiedStubName, getInputElement, getInputParamElement, getNewCopy, getOpNames, getOutputDirectory, getOutputElement, getOutputParamElement, getParameterElementList, getParameterElementListForHttpHeader, getParameterElementListForSOAPModules, getParamInitializer, getUniqueListofFaults, getUniqueListofFaultsofMep, loadOperations, makeJavaClassName, processModelObjects, resetFaultNames, setMapper, updateFaultPackageForStub, updateMapperClassnames, updateMapperForMessageReceiver, updateMapperForStub, writeAntBuild, writeCallBackHandlers, writeFile, writeInterface, writeInterfaceImplementation, writeMessageReceiver, writeServiceXml, writeSkeleton, writeSkeletonInterface, writeTestClasses, writeWSDLFilesprotected static final java.lang.String TYPE_SUFFIX
protected static final java.lang.String SERVICE_SUFFIX
protected static final java.lang.String EXCEPTION_SUFFIX
protected static final java.lang.String JAXWS_PORT_TYPE_NAME
protected static final java.lang.String JAXWS_IMPL_SUFFIX
public void setCodeGenConfiguration(CodeGenConfiguration configuration)
AxisServiceBasedMultiLanguageEmittersetCodeGenConfiguration in interface EmittersetCodeGenConfiguration in class AxisServiceBasedMultiLanguageEmitterEmitter.setCodeGenConfiguration(org.apache.axis2.wsdl.codegen.CodeGenConfiguration)public void emitSkeleton()
throws CodeGenerationException
AxisServiceBasedMultiLanguageEmitteremitSkeleton in interface EmitteremitSkeleton in class AxisServiceBasedMultiLanguageEmitterCodeGenerationExceptionprotected void writeServiceEndpointInterface()
throws java.lang.Exception
java.lang.Exceptionprotected void writeServiceEndpointInterfaceImpl()
throws java.lang.Exception
java.lang.Exceptionprotected void writeExceptions()
throws java.lang.Exception
writeExceptions in class AxisServiceBasedMultiLanguageEmitterjava.lang.Exceptionprotected void writeServiceClass()
throws java.lang.Exception
java.lang.Exceptionprotected org.w3c.dom.Document createDOMDocumentForServiceXML()
createDOMDocumentForServiceXML in class AxisServiceBasedMultiLanguageEmitterprotected abstract org.w3c.dom.Document createDOMDocumentForSEI()
throws AxisFault
AxisFaultprotected abstract org.w3c.dom.Document createDOMDocumentForSEIImpl()
throws AxisFault
AxisFaultprotected abstract org.w3c.dom.Document createDOMDocumentForServiceClass()
protected abstract org.w3c.dom.Document createDOMDocumentForException(java.lang.String key)
key - Stringprotected org.w3c.dom.Element getServiceElement(java.lang.String serviceName,
java.lang.String className,
org.w3c.dom.Document doc)
getServiceElement in class AxisServiceBasedMultiLanguageEmitterserviceName - className - doc - public java.lang.String extratClassName(java.lang.String fullyQualifiedName)
protected java.lang.String getFullyQualifiedName(java.lang.String className,
java.lang.String packageName)
protected java.lang.String resolveNameCollision(java.lang.String className,
java.lang.String packageName,
java.lang.String suffix)
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.