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
public class JavaImplWriter extends JavaClassWriter
This is Wsdl2java's implementation template writer. It writes theImpl.java file which contains the Impl class.
-
-
Field Summary
Fields Modifier and Type Field Description protected BindingEntrybEntryField bEntryprotected javax.wsdl.BindingbindingField bindingprotected SymbolTablesymbolTableField symbolTable-
Fields 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
Constructors Modifier Constructor Description protectedJavaImplWriter(Emitter emitter, BindingEntry bEntry, SymbolTable symbolTable)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetImplementsText()Returns the appropriate implements textprotected voidwriteFileBody(java.io.PrintWriter pw)Write the body of the binding's stub file.protected voidwriteOperation(java.io.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 Detail
-
binding
protected javax.wsdl.Binding binding
Field binding
-
symbolTable
protected SymbolTable symbolTable
Field symbolTable
-
bEntry
protected BindingEntry bEntry
Field bEntry
-
-
Constructor Detail
-
JavaImplWriter
protected JavaImplWriter(Emitter emitter, BindingEntry bEntry, SymbolTable symbolTable)
Constructor.- Parameters:
emitter-bEntry-symbolTable-
-
-
Method Detail
-
writeFileBody
protected void writeFileBody(java.io.PrintWriter pw) throws java.io.IOExceptionWrite the body of the binding's stub file.- Specified by:
writeFileBodyin classJavaWriter- Parameters:
pw-- Throws:
java.io.IOException
-
getImplementsText
protected java.lang.String getImplementsText()
Returns the appropriate implements text- Overrides:
getImplementsTextin classJavaClassWriter- Returns:
- " implements
"
-
writeOperation
protected void writeOperation(java.io.PrintWriter pw, Parameters parms) throws java.io.IOExceptionWrite the implementation template for the given operation.- Parameters:
pw-parms-- Throws:
java.io.IOException
-
-