public class JavaInterfaceWriter extends JavaClassWriter
| Modifier and Type | Field and Description |
|---|---|
protected BindingEntry |
bEntry
Field bEntry
|
protected javax.wsdl.PortType |
portType
Field portType
|
className, namespaces, packageNameemitter, LINE_LENGTH, type| Modifier | Constructor and Description |
|---|---|
protected |
JavaInterfaceWriter(Emitter emitter,
PortTypeEntry ptEntry,
BindingEntry bEntry,
SymbolTable symbolTable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Override generate method to prevent duplicate interfaces because
of two bindings referencing the same portType
|
protected String |
getClassText()
Returns "interface ".
|
protected String |
getExtendsText()
Returns "extends java.rmi.Remote ".
|
protected void |
writeFileBody(PrintWriter pw)
Write the body of the portType interface file.
|
protected void |
writeOperation(PrintWriter pw,
javax.wsdl.Operation operation)
This method generates the interface signatures for the given operation.
|
getClassModifiers, getClassName, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackageclosePrintWriter, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeCommentprotected javax.wsdl.PortType portType
protected BindingEntry bEntry
protected JavaInterfaceWriter(Emitter emitter, PortTypeEntry ptEntry, BindingEntry bEntry, SymbolTable symbolTable)
emitter - ptEntry - bEntry - symbolTable - public void generate()
throws IOException
generate in interface Generatorgenerate in class JavaWriterIOExceptionprotected String getClassText()
getClassText in class JavaClassWriterprotected String getExtendsText()
getExtendsText in class JavaClassWriterprotected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody in class JavaWriterpw - IOExceptionprotected void writeOperation(PrintWriter pw, javax.wsdl.Operation operation) throws IOException
pw - operation - IOExceptionCopyright © The Apache Software Foundation. All Rights Reserved.