|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter
Field Summary | |
protected CodeGenConfiguration |
configuration
|
protected org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.InformationHolder |
infoHolder
This information holder keeps the necessary information of what to codegen. |
protected TypeMapper |
mapper
|
protected URIResolver |
resolver
|
Constructor Summary | |
MultiLanguageClientEmitter()
|
Method Summary | |
protected void |
addAttribute(Document document,
String AttribName,
String attribValue,
Element element)
Utility method to add an attribute to a given element. |
protected void |
addEndpoint(Document doc,
Element rootElement)
Adds the endpoint to the document. |
protected void |
addSoapVersion(org.apache.wsdl.WSDLBinding binding,
Document doc,
Element rootElement)
Looks for the SOAPVersion and adds it. |
protected Document |
createDocumentForMessageReceiver()
|
protected Document |
createDOMDocumentForAntBuild()
Creates the DOM tree for the Ant build. |
protected Document |
createDOMDocumentForCallbackHandler()
Generates the model for the callbacks. |
protected Document |
createDOMDocumentForInterface(boolean writeDatabinders)
Creates the DOM tree for the interface creation. |
protected Document |
createDOMDocumentForInterfaceImplementation()
Creates the DOM tree for implementations. |
protected Document |
createDOMDocumentForServiceXML()
|
protected Document |
createDOMDocumentForSkeleton()
Creates the model for the skeleton. |
protected Document |
createDOMDocumentForTestCase()
|
protected Element |
createDOMElementforDatabinders(Document doc,
org.apache.wsdl.WSDLBinding binding)
|
void |
emitSkeleton()
|
void |
emitStub()
|
protected Element |
getInputElement(Document doc,
org.apache.wsdl.WSDLOperation operation,
List headerParameterQNameList)
Finds the input element for the xml document. |
protected File |
getOutputDirectory(File outputDir,
String dir2)
Gets the output directory for source files. |
protected Element |
getOutputElement(Document doc,
org.apache.wsdl.WSDLOperation operation,
List headerParameterQNameList)
Finds the output element. |
protected String |
makeJavaClassName(String word)
|
void |
setCodeGenConfiguration(CodeGenConfiguration configuration)
Sets the code generator configuration. |
void |
setMapper(TypeMapper mapper)
Sets the mapper. |
protected void |
writeAntBuild()
Writes the Ant build. |
protected void |
writeCallBackHandlers()
Writes the callback handlers. |
protected void |
writeClass(Document model,
ClassWriter writer)
A resusable method for the implementation of interface and implementation writing. |
protected void |
writeInterface(boolean writeDatabinders)
Writes the interfaces. |
protected void |
writeInterfaceImplementation()
Writes the implementations. |
protected void |
writeMessageReceiver()
|
protected void |
writeServiceXml()
Writes the Service XML. |
protected void |
writeSkeleton()
Writes the skeleton. |
protected void |
writeTestClasses()
Write the test classes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.InformationHolder infoHolder
protected CodeGenConfiguration configuration
protected TypeMapper mapper
protected URIResolver resolver
Constructor Detail |
public MultiLanguageClientEmitter()
Method Detail |
protected void addAttribute(Document document, String AttribName, String attribValue, Element element)
document
- AttribName
- attribValue
- element
- protected void addEndpoint(Document doc, Element rootElement) throws Exception
doc
- rootElement
-
Exception
protected void addSoapVersion(org.apache.wsdl.WSDLBinding binding, Document doc, Element rootElement)
binding
- doc
- rootElement
- protected Document createDOMDocumentForAntBuild()
protected Document createDOMDocumentForCallbackHandler()
protected Document createDOMDocumentForInterface(boolean writeDatabinders)
protected Document createDOMDocumentForInterfaceImplementation() throws Exception
Exception
protected Document createDOMDocumentForServiceXML()
protected Document createDOMDocumentForSkeleton()
protected Document createDOMDocumentForTestCase()
protected Element createDOMElementforDatabinders(Document doc, org.apache.wsdl.WSDLBinding binding)
protected Document createDocumentForMessageReceiver()
public void emitSkeleton() throws CodeGenerationException
emitSkeleton
in interface Emitter
CodeGenerationException
Emitter.emitSkeleton()
public void emitStub() throws CodeGenerationException
emitStub
in interface Emitter
CodeGenerationException
Emitter.emitStub()
protected String makeJavaClassName(String word)
word
-
protected void writeAntBuild() throws Exception
Exception
protected void writeCallBackHandlers() throws Exception
Exception
protected void writeClass(Document model, ClassWriter writer) throws IOException, Exception
model
- writer
-
IOException
Exception
protected void writeInterface(boolean writeDatabinders) throws Exception
Exception
protected void writeInterfaceImplementation() throws Exception
Exception
protected void writeMessageReceiver() throws Exception
Exception
protected void writeServiceXml() throws Exception
Exception
protected void writeSkeleton() throws Exception
Exception
protected void writeTestClasses() throws Exception
Exception
protected Element getInputElement(Document doc, org.apache.wsdl.WSDLOperation operation, List headerParameterQNameList)
doc
- operation
- headerParameterQNameList
- protected File getOutputDirectory(File outputDir, String dir2)
outputDir
-
protected Element getOutputElement(Document doc, org.apache.wsdl.WSDLOperation operation, List headerParameterQNameList)
doc
- operation
- headerParameterQNameList
- public void setCodeGenConfiguration(CodeGenConfiguration configuration)
setCodeGenConfiguration
in interface Emitter
configuration
- public void setMapper(TypeMapper mapper)
setMapper
in interface Emitter
mapper
- TypeMapper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |