|
|||||||||||
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
Field Summary | |
protected static String |
C_DEFAULT_TYPE
|
protected static String |
C_OUR_TYPE_PREFIX
|
protected static String |
C_OUR_TYPE_SUFFIX
|
protected static String |
C_SKEL_PREFIX
|
protected static String |
C_SKEL_SUFFIX
|
protected static String |
C_STUB_PREFIX
|
protected static String |
C_STUB_SUFFIX
|
protected static String |
C_SVC_SKEL_PREFIX
|
protected static String |
C_SVC_SKEL_SUFFIX
|
protected static String |
JAVA_DEFAULT_TYPE
|
Constructor Summary | |
CEmitter()
|
Method Summary | |
protected Document |
createDOMDocumentForInterfaceImplementation()
Creates the DOM tree for implementations. |
protected Document |
createDOMDocumentForServiceSkeletonXML()
|
protected Document |
createDOMDocumentForSkeleton(boolean isSkeletonInterface)
Creates the XMLModel for the skeleton |
void |
emitSkeleton()
Emit the skeltons |
void |
emitStub()
Emit the stub |
protected Element |
generateParamComponent(Document doc,
String paramName,
String paramType,
QName opName,
String partName,
boolean isPrimitive)
A convenient method for the generating the parameter element |
protected File |
getOutputDirectory(File outputDir,
String dir2)
Gets the output directory for source files. |
protected Element |
getOutputParamElement(Document doc,
AxisOperation operation)
|
protected boolean |
loadOperations(Document doc,
Element rootElement,
String mep)
Loads the operations |
protected String |
makeCClassName(String word)
|
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 String C_STUB_PREFIX
protected static final String C_SKEL_PREFIX
protected static final String C_SVC_SKEL_PREFIX
protected static final String C_STUB_SUFFIX
protected static final String C_SKEL_SUFFIX
protected static final String C_SVC_SKEL_SUFFIX
protected static final String JAVA_DEFAULT_TYPE
protected static final String C_DEFAULT_TYPE
protected static final String C_OUR_TYPE_PREFIX
protected static final String C_OUR_TYPE_SUFFIX
Constructor Detail |
public CEmitter()
Method Detail |
public void emitStub() throws CodeGenerationException
emitStub
in interface Emitter
emitStub
in class AxisServiceBasedMultiLanguageEmitter
CodeGenerationException
Emitter.emitStub()
public void emitSkeleton() throws CodeGenerationException
emitSkeleton
in interface Emitter
emitSkeleton
in class AxisServiceBasedMultiLanguageEmitter
CodeGenerationException
protected void writeCStub() throws Exception
Exception
protected void writeCSkel() throws Exception
Exception
protected void writeCServiceSkeleton() throws Exception
Exception
protected void writeServiceXml() throws Exception
writeServiceXml
in class AxisServiceBasedMultiLanguageEmitter
Exception
protected Document createDOMDocumentForInterfaceImplementation() throws Exception
createDOMDocumentForInterfaceImplementation
in class AxisServiceBasedMultiLanguageEmitter
Exception
protected Document createDOMDocumentForSkeleton(boolean isSkeletonInterface)
AxisServiceBasedMultiLanguageEmitter
createDOMDocumentForSkeleton
in class AxisServiceBasedMultiLanguageEmitter
isSkeletonInterface
-
protected Document createDOMDocumentForServiceSkeletonXML()
protected String makeCClassName(String word)
word
-
protected boolean loadOperations(Document doc, Element rootElement, String mep)
loadOperations
in class AxisServiceBasedMultiLanguageEmitter
doc
- rootElement
- mep
-
protected Element generateParamComponent(Document doc, String paramName, String paramType, QName opName, String partName, boolean isPrimitive)
doc
- paramName
- paramType
- opName
- protected Element getOutputParamElement(Document doc, AxisOperation operation)
getOutputParamElement
in class AxisServiceBasedMultiLanguageEmitter
doc
- operation
-
protected File getOutputDirectory(File outputDir, String dir2)
getOutputDirectory
in class AxisServiceBasedMultiLanguageEmitter
outputDir
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |