|
||||||||||
| 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.CEmitter
public class CEmitter
| Field Summary | |
|---|---|
protected static java.lang.String |
C_DEFAULT_TYPE
|
protected static java.lang.String |
C_OUR_TYPE_PREFIX
|
protected static java.lang.String |
C_OUR_TYPE_SUFFIX
|
protected static java.lang.String |
C_SKEL_PREFIX
|
protected static java.lang.String |
C_SKEL_SUFFIX
|
protected static java.lang.String |
C_STUB_PREFIX
|
protected static java.lang.String |
C_STUB_SUFFIX
|
protected static java.lang.String |
C_SVC_SKEL_PREFIX
|
protected static java.lang.String |
C_SVC_SKEL_SUFFIX
|
protected static java.lang.String |
JAVA_DEFAULT_TYPE
|
| Constructor Summary | |
|---|---|
CEmitter()
|
|
| Method Summary | |
|---|---|
protected void |
addCSpecifcAttributes(org.w3c.dom.Document doc,
AxisOperation operation,
org.w3c.dom.Element param,
java.lang.String messageType)
|
protected org.w3c.dom.Document |
createDOMDocumentForBuildScript(CodeGenConfiguration codegen)
|
protected org.w3c.dom.Document |
createDOMDocumentForInterfaceImplementation()
Creates the DOM tree for implementations. |
protected org.w3c.dom.Document |
createDOMDocumentForServiceSkeletonXML()
|
protected org.w3c.dom.Document |
createDOMDocumentForSkeleton(boolean isSkeletonInterface)
Creates the XMLModel for the skeleton |
void |
emitBuildScript()
Emit the build script |
void |
emitSkeleton()
Emit the skeltons |
void |
emitStub()
Emit the stub |
protected org.w3c.dom.Element |
generateParamComponent(org.w3c.dom.Document doc,
java.lang.String paramName,
java.lang.String paramType,
QName opName,
java.lang.String partName,
boolean isPrimitive)
A convenient method for the generating the parameter element |
protected org.w3c.dom.Element |
getInputElement(org.w3c.dom.Document doc,
AxisBindingOperation bindingOperation,
java.util.List headerParameterQNameList)
Get the input element |
protected org.w3c.dom.Element[] |
getInputParamElement(org.w3c.dom.Document doc,
AxisOperation operation)
|
protected java.io.File |
getOutputDirectory(java.io.File outputDir,
java.lang.String dir2)
Gets the output directory for source files. |
protected org.w3c.dom.Element |
getOutputElement(org.w3c.dom.Document doc,
AxisBindingOperation bindingOperation,
java.util.List headerParameterQNameList)
Finds the output element. |
protected org.w3c.dom.Element |
getOutputParamElement(org.w3c.dom.Document doc,
AxisOperation operation)
|
protected java.util.List |
getParameterElementList(org.w3c.dom.Document doc,
java.util.List parameters,
java.lang.String location)
|
protected boolean |
loadOperations(org.w3c.dom.Document doc,
org.w3c.dom.Element rootElement,
java.lang.String mep)
Loads the operations |
protected java.lang.String |
makeCClassName(java.lang.String word)
|
protected void |
writeBuildScript()
Write the Build Script |
protected void |
writeCServiceSkeleton()
|
protected void |
writeCSkel()
Writes the Skel. |
protected void |
writeCStub()
Writes the Stub. |
protected void |
writeServiceXml()
Write the service XML |
| 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 C_STUB_PREFIX
protected static final java.lang.String C_SKEL_PREFIX
protected static final java.lang.String C_SVC_SKEL_PREFIX
protected static final java.lang.String C_STUB_SUFFIX
protected static final java.lang.String C_SKEL_SUFFIX
protected static final java.lang.String C_SVC_SKEL_SUFFIX
protected static final java.lang.String JAVA_DEFAULT_TYPE
protected static final java.lang.String C_DEFAULT_TYPE
protected static final java.lang.String C_OUR_TYPE_PREFIX
protected static final java.lang.String C_OUR_TYPE_SUFFIX
| Constructor Detail |
|---|
public CEmitter()
| Method Detail |
|---|
public void emitStub()
throws CodeGenerationException
emitStub in interface EmitteremitStub in class AxisServiceBasedMultiLanguageEmitterCodeGenerationExceptionEmitter.emitStub()
public void emitSkeleton()
throws CodeGenerationException
emitSkeleton in interface EmitteremitSkeleton in class AxisServiceBasedMultiLanguageEmitterCodeGenerationException
public void emitBuildScript()
throws CodeGenerationException
CodeGenerationException
protected void writeCStub()
throws java.lang.Exception
java.lang.Exception
protected void writeCSkel()
throws java.lang.Exception
java.lang.Exception
protected void writeCServiceSkeleton()
throws java.lang.Exception
java.lang.Exception
protected void writeBuildScript()
throws java.lang.Exception
java.lang.Exception
protected void writeServiceXml()
throws java.lang.Exception
AxisServiceBasedMultiLanguageEmitter
writeServiceXml in class AxisServiceBasedMultiLanguageEmitterjava.lang.Exception
protected org.w3c.dom.Document createDOMDocumentForInterfaceImplementation()
throws java.lang.Exception
createDOMDocumentForInterfaceImplementation in class AxisServiceBasedMultiLanguageEmitterjava.lang.Exceptionprotected org.w3c.dom.Document createDOMDocumentForSkeleton(boolean isSkeletonInterface)
AxisServiceBasedMultiLanguageEmitter
createDOMDocumentForSkeleton in class AxisServiceBasedMultiLanguageEmitterprotected org.w3c.dom.Document createDOMDocumentForServiceSkeletonXML()
protected org.w3c.dom.Document createDOMDocumentForBuildScript(CodeGenConfiguration codegen)
protected java.lang.String makeCClassName(java.lang.String word)
word -
protected boolean loadOperations(org.w3c.dom.Document doc,
org.w3c.dom.Element rootElement,
java.lang.String mep)
loadOperations in class AxisServiceBasedMultiLanguageEmitterdoc - rootElement - mep -
protected org.w3c.dom.Element generateParamComponent(org.w3c.dom.Document doc,
java.lang.String paramName,
java.lang.String paramType,
QName opName,
java.lang.String partName,
boolean isPrimitive)
doc - paramName - paramType - opName - paramName -
protected void addCSpecifcAttributes(org.w3c.dom.Document doc,
AxisOperation operation,
org.w3c.dom.Element param,
java.lang.String messageType)
doc - operation - param -
protected org.w3c.dom.Element[] getInputParamElement(org.w3c.dom.Document doc,
AxisOperation operation)
getInputParamElement in class AxisServiceBasedMultiLanguageEmitterdoc - operation -
protected org.w3c.dom.Element getOutputParamElement(org.w3c.dom.Document doc,
AxisOperation operation)
getOutputParamElement in class AxisServiceBasedMultiLanguageEmitterdoc - operation -
protected java.io.File getOutputDirectory(java.io.File outputDir,
java.lang.String dir2)
getOutputDirectory in class AxisServiceBasedMultiLanguageEmitteroutputDir -
protected java.util.List getParameterElementList(org.w3c.dom.Document doc,
java.util.List parameters,
java.lang.String location)
getParameterElementList in class AxisServiceBasedMultiLanguageEmitterdoc - parameters - location -
protected org.w3c.dom.Element getOutputElement(org.w3c.dom.Document doc,
AxisBindingOperation bindingOperation,
java.util.List headerParameterQNameList)
getOutputElement in class AxisServiceBasedMultiLanguageEmitterdoc - bindingOperation - headerParameterQNameList -
protected org.w3c.dom.Element getInputElement(org.w3c.dom.Document doc,
AxisBindingOperation bindingOperation,
java.util.List headerParameterQNameList)
getInputElement in class AxisServiceBasedMultiLanguageEmitterdoc - bindingOperation - headerParameterQNameList -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||