Package org.apache.axis.wsdl.toJava
Class JavaImplWriter
java.lang.Object
org.apache.axis.wsdl.toJava.JavaWriter
org.apache.axis.wsdl.toJava.JavaClassWriter
org.apache.axis.wsdl.toJava.JavaImplWriter
- All Implemented Interfaces:
Generator
This is Wsdl2java's implementation template writer. It writes the Impl.java
file which contains the Impl class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BindingEntry
Field bEntryprotected javax.wsdl.Binding
Field bindingprotected SymbolTable
Field symbolTableFields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageName
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, LINE_LENGTH, type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JavaImplWriter
(Emitter emitter, BindingEntry bEntry, SymbolTable symbolTable) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the appropriate implements textprotected void
Write the body of the binding's stub file.protected void
writeOperation
(PrintWriter pw, Parameters parms) Write the implementation template for the given operation.Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
-
Field Details
-
binding
protected javax.wsdl.Binding bindingField binding -
symbolTable
Field symbolTable -
bEntry
Field bEntry
-
-
Constructor Details
-
JavaImplWriter
Constructor.- Parameters:
emitter
-bEntry
-symbolTable
-
-
-
Method Details
-
writeFileBody
Write the body of the binding's stub file.- Specified by:
writeFileBody
in classJavaWriter
- Parameters:
pw
-- Throws:
IOException
-
getImplementsText
Returns the appropriate implements text- Overrides:
getImplementsText
in classJavaClassWriter
- Returns:
- " implements
"
-
writeOperation
Write the implementation template for the given operation.- Parameters:
pw
-parms
-- Throws:
IOException
-