站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

JavaServiceIfaceWriter (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.wsdl.toJava
Class JavaServiceIfaceWriter

java.lang.Object
  extended byorg.apache.axis.wsdl.toJava.JavaWriter
      extended byorg.apache.axis.wsdl.toJava.JavaClassWriter
          extended byorg.apache.axis.wsdl.toJava.JavaServiceIfaceWriter
All Implemented Interfaces:
Generator

public class JavaServiceIfaceWriter
extends JavaClassWriter

This is Wsdl2java's service writer. It writes the .java file.


Field Summary
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageName
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, type
 
Constructor Summary
protected JavaServiceIfaceWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
          Constructor.
 
Method Summary
protected  String getClassText()
          Returns "interface ".
protected  String getExtendsText()
          Returns "extends javax.xml.rpc.Service ".
protected  void writeFileBody(PrintWriter pw)
          Write the body of the service file.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassModifiers, getClassName, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, generate, getPrintWriter, isFileGenerated, verboseMessage, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaServiceIfaceWriter

protected JavaServiceIfaceWriter(Emitter emitter,
                                 ServiceEntry sEntry,
                                 SymbolTable symbolTable)
Constructor.

Method Detail

getClassText

protected String getClassText()
Returns "interface ".

Overrides:
getClassText in class JavaClassWriter

getExtendsText

protected String getExtendsText()
Returns "extends javax.xml.rpc.Service ".

Overrides:
getExtendsText in class JavaClassWriter
Returns:
""

writeFileBody

protected void writeFileBody(PrintWriter pw)
                      throws IOException
Write the body of the service file.

Specified by:
writeFileBody in class JavaWriter
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.