Class JAXWSEmitter
java.lang.Object
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter
org.apache.axis2.wsdl.codegen.emitter.jaxws.JAXWSEmitter
- All Implemented Interfaces:
Emitter
- Direct Known Subclasses:
JAXWS20Emitter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DocumentCreates the XML model for a Exception Classprotected abstract DocumentCreates the XML model for the Service Endpoint interfaceprotected abstract DocumentCreates the XML model for the Service Endpoint interface Implementation classprotected abstract DocumentCreates the XML model for the Service Classprotected DocumentvoidEmits the skeletonextratClassName(String fullyQualifiedName) protected StringgetFullyQualifiedName(String className, String packageName) protected ElementgetServiceElement(String serviceName, String className, Document doc) A resusable method to return the service element for creating the service xmlprotected StringresolveNameCollision(String className, String packageName, String suffix) voidsetCodeGenConfiguration(CodeGenConfiguration configuration) Sets the relevant codegen configurationprotected voidWrites the exception calsses.protected voidWrite the service classprotected voidWrite the service endpoint interfaceprotected voidMethods inherited from class org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter
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
-
Field Details
-
TYPE_SUFFIX
- See Also:
-
SERVICE_SUFFIX
- See Also:
-
EXCEPTION_SUFFIX
- See Also:
-
JAXWS_PORT_TYPE_NAME
- See Also:
-
JAXWS_IMPL_SUFFIX
- See Also:
-
-
Constructor Details
-
JAXWSEmitter
public JAXWSEmitter()
-
-
Method Details
-
setCodeGenConfiguration
Description copied from class:AxisServiceBasedMultiLanguageEmitterSets the relevant codegen configuration- Specified by:
setCodeGenConfigurationin interfaceEmitter- Overrides:
setCodeGenConfigurationin classAxisServiceBasedMultiLanguageEmitter- See Also:
-
emitSkeleton
Description copied from class:AxisServiceBasedMultiLanguageEmitterEmits the skeleton- Specified by:
emitSkeletonin interfaceEmitter- Overrides:
emitSkeletonin classAxisServiceBasedMultiLanguageEmitter- Throws:
CodeGenerationException
-
writeServiceEndpointInterface
Write the service endpoint interface- Throws:
Exception
-
writeServiceEndpointInterfaceImpl
- Throws:
Exception
-
writeExceptions
Writes the exception calsses.- Overrides:
writeExceptionsin classAxisServiceBasedMultiLanguageEmitter- Throws:
Exception
-
writeServiceClass
Write the service class- Throws:
Exception
-
createDOMDocumentForServiceXML
- Overrides:
createDOMDocumentForServiceXMLin classAxisServiceBasedMultiLanguageEmitter
-
createDOMDocumentForSEI
Creates the XML model for the Service Endpoint interface- Returns:
- DOM Document
- Throws:
org.apache.axis2.AxisFault
-
createDOMDocumentForSEIImpl
Creates the XML model for the Service Endpoint interface Implementation class- Returns:
- DOM Document
- Throws:
org.apache.axis2.AxisFault
-
createDOMDocumentForServiceClass
Creates the XML model for the Service Class- Returns:
- DOM Document
-
createDOMDocumentForException
Creates the XML model for a Exception Class- Parameters:
key- String- Returns:
- DOM Document
-
getServiceElement
A resusable method to return the service element for creating the service xml- Overrides:
getServiceElementin classAxisServiceBasedMultiLanguageEmitter- Parameters:
serviceName-className-doc-- Returns:
- DOM Element
-
extratClassName
-
getFullyQualifiedName
-
resolveNameCollision
-