Apache CXF API

org.apache.cxf.tools.common.model
Class JavaInterface

java.lang.Object
  extended by org.apache.cxf.tools.common.model.JavaInterface
All Implemented Interfaces:
JavaAnnotatable
Direct Known Subclasses:
JavaClass

public class JavaInterface
extends Object
implements JavaAnnotatable


Constructor Summary
JavaInterface()
           
JavaInterface(JavaModel m)
           
 
Method Summary
 void addAnnotation(JAnnotation annotation)
           
 void addImport(String i)
           
 void addImports(Collection<String> ii)
           
 void addMethod(JavaMethod method)
           
 void annotate(Annotator annotator)
           
 List<JAnnotation> getAnnotations()
           
 String getClassJavaDoc()
           
 String getFullClassName()
           
 Element getHandlerChains()
           
 Iterator<String> getImports()
           
 JavaModel getJavaModel()
           
 String getLocation()
           
 List<JavaMethod> getMethods()
           
 String getName()
           
 String getNamespace()
           
 String getPackageJavaDoc()
           
 String getPackageName()
           
 javax.jws.soap.SOAPBinding.ParameterStyle getSOAPParameterStyle()
           
 javax.jws.soap.SOAPBinding.Style getSOAPStyle()
           
 javax.jws.soap.SOAPBinding.Use getSOAPUse()
           
 String getWebServiceName()
           
 boolean hasMethod(JavaMethod method)
           
 int indexOf(JavaMethod method)
           
 int removeMethod(JavaMethod method)
           
 void replaceMethod(JavaMethod method)
           
 void setClassJavaDoc(String doc)
           
 void setFullClassName(String fullName)
           
 void setHandlerChains(Element elem)
           
 void setJavaModel(JavaModel jm)
           
 void setLocation(String l)
           
 void setName(String n)
           
 void setNamespace(String ns)
           
 void setPackageJavaDoc(String doc)
           
 void setPackageName(String pn)
           
 void setSOAPParameterStyle(javax.jws.soap.SOAPBinding.ParameterStyle p)
           
 void setSOAPStyle(javax.jws.soap.SOAPBinding.Style s)
           
 void setSOAPUse(javax.jws.soap.SOAPBinding.Use u)
           
 void setWebServiceName(String wsn)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaInterface

public JavaInterface()

JavaInterface

public JavaInterface(JavaModel m)
Method Detail

setWebServiceName

public void setWebServiceName(String wsn)

getWebServiceName

public String getWebServiceName()

setSOAPStyle

public void setSOAPStyle(javax.jws.soap.SOAPBinding.Style s)

getSOAPStyle

public javax.jws.soap.SOAPBinding.Style getSOAPStyle()

setSOAPUse

public void setSOAPUse(javax.jws.soap.SOAPBinding.Use u)

getSOAPUse

public javax.jws.soap.SOAPBinding.Use getSOAPUse()

setSOAPParameterStyle

public void setSOAPParameterStyle(javax.jws.soap.SOAPBinding.ParameterStyle p)

getSOAPParameterStyle

public javax.jws.soap.SOAPBinding.ParameterStyle getSOAPParameterStyle()

getJavaModel

public JavaModel getJavaModel()

setName

public void setName(String n)

getName

public String getName()

setLocation

public void setLocation(String l)

getLocation

public String getLocation()

getMethods

public List<JavaMethod> getMethods()

hasMethod

public boolean hasMethod(JavaMethod method)

indexOf

public int indexOf(JavaMethod method)

removeMethod

public int removeMethod(JavaMethod method)

replaceMethod

public void replaceMethod(JavaMethod method)

addMethod

public void addMethod(JavaMethod method)
               throws ToolException
Throws:
ToolException

getPackageName

public String getPackageName()

setPackageName

public void setPackageName(String pn)

getNamespace

public String getNamespace()

setNamespace

public void setNamespace(String ns)

setPackageJavaDoc

public void setPackageJavaDoc(String doc)

getPackageJavaDoc

public String getPackageJavaDoc()

setClassJavaDoc

public void setClassJavaDoc(String doc)

getClassJavaDoc

public String getClassJavaDoc()

addAnnotation

public void addAnnotation(JAnnotation annotation)

getAnnotations

public List<JAnnotation> getAnnotations()

addImport

public void addImport(String i)

addImports

public void addImports(Collection<String> ii)

getImports

public Iterator<String> getImports()

setJavaModel

public void setJavaModel(JavaModel jm)

annotate

public void annotate(Annotator annotator)
Specified by:
annotate in interface JavaAnnotatable

getHandlerChains

public Element getHandlerChains()

setHandlerChains

public void setHandlerChains(Element elem)

setFullClassName

public void setFullClassName(String fullName)

getFullClassName

public String getFullClassName()

toString

public String toString()
Overrides:
toString in class Object

Apache CXF API

Apache CXF