|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter org.apache.axis2.wsdl.codegen.emitter.jaxws.JAXWSEmitter
public abstract class JAXWSEmitter
Field Summary | |
---|---|
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
|
Constructor Summary | |
---|---|
JAXWSEmitter()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected 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
Constructor Detail |
---|
public JAXWSEmitter()
Method Detail |
---|
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 java.lang.Exception
java.lang.Exception
protected void writeServiceEndpointInterfaceImpl() throws java.lang.Exception
java.lang.Exception
protected void writeExceptions() throws java.lang.Exception
writeExceptions
in class AxisServiceBasedMultiLanguageEmitter
java.lang.Exception
protected void writeServiceClass() throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Document createDOMDocumentForServiceXML()
createDOMDocumentForServiceXML
in class AxisServiceBasedMultiLanguageEmitter
protected abstract org.w3c.dom.Document createDOMDocumentForSEI() throws AxisFault
AxisFault
protected abstract org.w3c.dom.Document createDOMDocumentForSEIImpl() throws AxisFault
AxisFault
protected abstract org.w3c.dom.Document createDOMDocumentForServiceClass()
protected abstract org.w3c.dom.Document createDOMDocumentForException(java.lang.String key)
key
- String
protected org.w3c.dom.Element getServiceElement(java.lang.String serviceName, java.lang.String className, org.w3c.dom.Document doc)
getServiceElement
in class AxisServiceBasedMultiLanguageEmitter
serviceName
- 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |