public abstract class JAXWSEmitter extends AxisServiceBasedMultiLanguageEmitter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EXCEPTION_SUFFIX |
protected static String |
JAXWS_IMPL_SUFFIX |
protected static String |
JAXWS_PORT_TYPE_NAME |
protected static String |
SERVICE_SUFFIX |
protected static 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 Document |
createDOMDocumentForException(String key)
Creates the XML model for a Exception Class
|
protected abstract Document |
createDOMDocumentForSEI()
Creates the XML model for the Service Endpoint interface
|
protected abstract Document |
createDOMDocumentForSEIImpl()
Creates the XML model for the Service Endpoint interface Implementation class
|
protected abstract Document |
createDOMDocumentForServiceClass()
Creates the XML model for the Service Class
|
protected Document |
createDOMDocumentForServiceXML() |
void |
emitSkeleton()
Emits the skeleton
|
String |
extratClassName(String fullyQualifiedName) |
protected String |
getFullyQualifiedName(String className,
String packageName) |
protected Element |
getServiceElement(String serviceName,
String className,
Document doc)
A resusable method to return the service element for creating the service xml
|
protected String |
resolveNameCollision(String className,
String packageName,
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 String TYPE_SUFFIX
protected static final String SERVICE_SUFFIX
protected static final String EXCEPTION_SUFFIX
protected static final String JAXWS_PORT_TYPE_NAME
protected static final 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 Exception
Exceptionprotected void writeServiceEndpointInterfaceImpl()
throws Exception
Exceptionprotected void writeExceptions()
throws Exception
writeExceptions in class AxisServiceBasedMultiLanguageEmitterExceptionprotected void writeServiceClass()
throws Exception
Exceptionprotected Document createDOMDocumentForServiceXML()
createDOMDocumentForServiceXML in class AxisServiceBasedMultiLanguageEmitterprotected abstract Document createDOMDocumentForSEI() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultprotected abstract Document createDOMDocumentForSEIImpl() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultprotected abstract Document createDOMDocumentForServiceClass()
protected abstract Document createDOMDocumentForException(String key)
key - Stringprotected Element getServiceElement(String serviceName, String className, Document doc)
getServiceElement in class AxisServiceBasedMultiLanguageEmitterserviceName - className - doc - Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.