|
|||||||||||
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 TypeMapper |
mapper
|
protected java.io.InputStream |
xsltStream
|
Constructor Summary | |
MultiLanguageClientEmitter()
|
Method Summary | |
protected void |
addAttribute(org.w3c.dom.Document document,
java.lang.String AttribName,
java.lang.String attribValue,
org.w3c.dom.Element element)
Utility method to add an attribute to a given element |
protected void |
addEndpoints(org.w3c.dom.Document doc,
org.w3c.dom.Element rootElement,
java.util.HashMap endpointMap)
Add the endpoint to the document |
protected void |
addSoapVersion(org.apache.wsdl.WSDLBinding binding,
org.w3c.dom.Document doc,
org.w3c.dom.Element rootElement)
|
protected org.w3c.dom.Document |
createDocumentForMessageReceiver(org.apache.wsdl.WSDLBinding binding)
|
protected org.w3c.dom.Document |
createDOMDocumentForCallbackHandler(org.apache.wsdl.WSDLInterface boundInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Generating the model for the callbacks |
protected org.w3c.dom.Document |
createDOMDocumentForInterface(org.apache.wsdl.WSDLInterface wsdlInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Creates the DOM tree for the interface creation. |
protected org.w3c.dom.Document |
createDOMDocumentForInterfaceImplementation(org.apache.wsdl.WSDLBinding binding,
org.apache.wsdl.WSDLService service)
Creates the DOM tree for implementations |
protected org.w3c.dom.Document |
createDOMDocumentforSerialization(org.apache.wsdl.WSDLOperation operation,
java.lang.String portTypeName,
org.apache.wsdl.WSDLBindingOperation bindingOperation)
|
protected org.w3c.dom.Document |
createDOMDocumentForServiceXML(org.apache.wsdl.WSDLInterface boundInterface,
boolean forTesting,
org.apache.wsdl.WSDLBinding axisBinding)
|
protected org.w3c.dom.Document |
createDOMDocumentForSkeleton(org.apache.wsdl.WSDLInterface boundInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Create the model for the skeleton |
protected org.w3c.dom.Document |
createDOMDocumentForTestCase(org.apache.wsdl.WSDLBinding binding)
|
void |
emitSkeleton()
|
void |
emitStub()
|
protected org.w3c.dom.Element |
getInputElement(org.w3c.dom.Document doc,
org.apache.wsdl.WSDLOperation operation,
java.util.List headerParameterQNameList)
Finds the input element for the xml document |
protected org.w3c.dom.Element |
getOutputElement(org.w3c.dom.Document doc,
org.apache.wsdl.WSDLOperation operation,
java.util.List headerParameterQNameList)
Finds the output element for the output element |
protected java.lang.String |
reformatName(java.lang.String word)
|
protected java.lang.String |
reformatName(java.lang.String word,
boolean decapitalizaFirst)
|
void |
setCodeGenConfiguration(CodeGenConfiguration configuration)
Sets the code generator configuration |
void |
setMapper(TypeMapper mapper)
Sets the mapper |
protected void |
writeCallBackHandlers(org.apache.wsdl.WSDLInterface wsdlInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Write the callback handlers |
protected void |
writeClass(org.w3c.dom.Document model,
ClassWriter writer)
A resusable method for the implementation of interface and implementation writing |
protected void |
writeDatabindingSupporters(org.apache.wsdl.WSDLBinding axisBinding)
Writes the skeleton |
protected void |
writeInterface(org.apache.wsdl.WSDLInterface axisInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Writes the interfaces |
protected void |
writeInterfaceImplementation(org.apache.wsdl.WSDLBinding axisBinding,
org.apache.wsdl.WSDLService service)
Writes the implementations |
protected void |
writeMessageReceiver(org.apache.wsdl.WSDLBinding axisBinding)
|
protected void |
writeServiceXml(org.apache.wsdl.WSDLInterface axisInterface,
org.apache.wsdl.WSDLBinding axisBinding)
Writes the skeleton |
protected void |
writeSkeleton(org.apache.wsdl.WSDLInterface axisInteface,
org.apache.wsdl.WSDLBinding axisBinding)
Writes the skeleton |
protected void |
writeTestClasses(org.apache.wsdl.WSDLBinding binding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.InputStream xsltStream
protected CodeGenConfiguration configuration
protected TypeMapper mapper
Constructor Detail |
public MultiLanguageClientEmitter()
Method Detail |
public void setMapper(TypeMapper mapper)
setMapper
in interface Emitter
mapper
- TypeMapper
public void setCodeGenConfiguration(CodeGenConfiguration configuration)
setCodeGenConfiguration
in interface Emitter
configuration
- 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 void writeCallBackHandlers(org.apache.wsdl.WSDLInterface wsdlInterface, org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
java.lang.Exception
protected void writeTestClasses(org.apache.wsdl.WSDLBinding binding) throws java.lang.Exception
java.lang.Exception
protected void writeInterface(org.apache.wsdl.WSDLInterface axisInterface, org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
axisInterface
- axisBinding
-
java.lang.Exception
protected void writeSkeleton(org.apache.wsdl.WSDLInterface axisInteface, org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
axisInteface
- axisBinding
-
java.lang.Exception
protected void writeDatabindingSupporters(org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
axisBinding
-
java.lang.Exception
protected void writeServiceXml(org.apache.wsdl.WSDLInterface axisInterface, org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
axisInterface
- axisBinding
-
java.lang.Exception
protected void writeInterfaceImplementation(org.apache.wsdl.WSDLBinding axisBinding, org.apache.wsdl.WSDLService service) throws java.lang.Exception
axisBinding
-
java.lang.Exception
protected void writeMessageReceiver(org.apache.wsdl.WSDLBinding axisBinding) throws java.lang.Exception
java.lang.Exception
protected void writeClass(org.w3c.dom.Document model, ClassWriter writer) throws java.io.IOException, java.lang.Exception
model
- writer
-
java.io.IOException
java.lang.Exception
protected org.w3c.dom.Document createDOMDocumentForCallbackHandler(org.apache.wsdl.WSDLInterface boundInterface, org.apache.wsdl.WSDLBinding axisBinding)
boundInterface
- axisBinding
- protected org.w3c.dom.Element getInputElement(org.w3c.dom.Document doc, org.apache.wsdl.WSDLOperation operation, java.util.List headerParameterQNameList)
doc
- operation
- headerParameterQNameList
- protected org.w3c.dom.Element getOutputElement(org.w3c.dom.Document doc, org.apache.wsdl.WSDLOperation operation, java.util.List headerParameterQNameList)
doc
- operation
- headerParameterQNameList
- protected org.w3c.dom.Document createDOMDocumentForServiceXML(org.apache.wsdl.WSDLInterface boundInterface, boolean forTesting, org.apache.wsdl.WSDLBinding axisBinding)
protected org.w3c.dom.Document createDocumentForMessageReceiver(org.apache.wsdl.WSDLBinding binding)
protected org.w3c.dom.Document createDOMDocumentForInterface(org.apache.wsdl.WSDLInterface wsdlInterface, org.apache.wsdl.WSDLBinding axisBinding)
wsdlInterface
- axisBinding
- protected org.w3c.dom.Document createDOMDocumentForSkeleton(org.apache.wsdl.WSDLInterface boundInterface, org.apache.wsdl.WSDLBinding axisBinding)
boundInterface
- axisBinding
-
protected org.w3c.dom.Document createDOMDocumentForTestCase(org.apache.wsdl.WSDLBinding binding)
protected org.w3c.dom.Document createDOMDocumentforSerialization(org.apache.wsdl.WSDLOperation operation, java.lang.String portTypeName, org.apache.wsdl.WSDLBindingOperation bindingOperation)
protected org.w3c.dom.Document createDOMDocumentForInterfaceImplementation(org.apache.wsdl.WSDLBinding binding, org.apache.wsdl.WSDLService service)
binding
- service
- protected void addSoapVersion(org.apache.wsdl.WSDLBinding binding, org.w3c.dom.Document doc, org.w3c.dom.Element rootElement)
protected void addEndpoints(org.w3c.dom.Document doc, org.w3c.dom.Element rootElement, java.util.HashMap endpointMap)
doc
- rootElement
- endpointMap
- protected void addAttribute(org.w3c.dom.Document document, java.lang.String AttribName, java.lang.String attribValue, org.w3c.dom.Element element)
document
- AttribName
- attribValue
- element
- protected java.lang.String reformatName(java.lang.String word)
word
-
protected java.lang.String reformatName(java.lang.String word, boolean decapitalizaFirst)
word
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |