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, writeWSDLFiles
protected 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)
AxisServiceBasedMultiLanguageEmitter
setCodeGenConfiguration
in interface Emitter
setCodeGenConfiguration
in class AxisServiceBasedMultiLanguageEmitter
Emitter.setCodeGenConfiguration(org.apache.axis2.wsdl.codegen.CodeGenConfiguration)
public void emitSkeleton() throws CodeGenerationException
AxisServiceBasedMultiLanguageEmitter
emitSkeleton
in interface Emitter
emitSkeleton
in class AxisServiceBasedMultiLanguageEmitter
CodeGenerationException
protected void writeServiceEndpointInterface() throws Exception
Exception
protected void writeServiceEndpointInterfaceImpl() throws Exception
Exception
protected void writeExceptions() throws Exception
writeExceptions
in class AxisServiceBasedMultiLanguageEmitter
Exception
protected void writeServiceClass() throws Exception
Exception
protected Document createDOMDocumentForServiceXML()
createDOMDocumentForServiceXML
in class AxisServiceBasedMultiLanguageEmitter
protected abstract Document createDOMDocumentForSEI() throws AxisFault
AxisFault
protected abstract Document createDOMDocumentForSEIImpl() throws AxisFault
AxisFault
protected abstract Document createDOMDocumentForServiceClass()
protected abstract Document createDOMDocumentForException(String key)
key
- Stringprotected Element getServiceElement(String serviceName, String className, Document doc)
getServiceElement
in class AxisServiceBasedMultiLanguageEmitter
serviceName
- className
- doc
- Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.