|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter
org.apache.axis2.wsdl.codegen.emitter.jaxws.JAXWSEmitter
public abstract class JAXWSEmitter
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
JAXWSEmitter()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public JAXWSEmitter()
| Method Detail |
|---|
public void setCodeGenConfiguration(CodeGenConfiguration configuration)
AxisServiceBasedMultiLanguageEmitter
setCodeGenConfiguration in interface EmittersetCodeGenConfiguration in class AxisServiceBasedMultiLanguageEmitterEmitter.setCodeGenConfiguration(org.apache.axis2.wsdl.codegen.CodeGenConfiguration)
public void emitSkeleton()
throws CodeGenerationException
AxisServiceBasedMultiLanguageEmitter
emitSkeleton in interface EmitteremitSkeleton in class AxisServiceBasedMultiLanguageEmitterCodeGenerationException
protected void writeServiceEndpointInterface()
throws Exception
Exception
protected void writeServiceEndpointInterfaceImpl()
throws Exception
Exception
protected void writeExceptions()
throws Exception
writeExceptions in class AxisServiceBasedMultiLanguageEmitterException
protected void writeServiceClass()
throws Exception
Exceptionprotected Document createDOMDocumentForServiceXML()
createDOMDocumentForServiceXML in class AxisServiceBasedMultiLanguageEmitter
protected abstract Document createDOMDocumentForSEI()
throws AxisFault
AxisFault
protected abstract Document createDOMDocumentForSEIImpl()
throws AxisFault
AxisFaultprotected abstract Document createDOMDocumentForServiceClass()
protected abstract Document createDOMDocumentForException(String key)
key - String
protected Element getServiceElement(String serviceName,
String className,
Document doc)
getServiceElement in class AxisServiceBasedMultiLanguageEmitterserviceName - className - doc -
public String extratClassName(String fullyQualifiedName)
protected String getFullyQualifiedName(String className,
String packageName)
protected String resolveNameCollision(String className,
String packageName,
String suffix)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||