|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.ws.wsdl.framework.Entity
com.sun.tools.ws.wsdl.document.Operation
public class Operation
Entity corresponding to the "operation" child element of a "portType" WSDL element.
| Field Summary |
|---|
| Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity |
|---|
errorReceiver |
| Constructor Summary | |
|---|---|
Operation(Locator locator)
|
|
| Method Summary | |
|---|---|
void |
accept(WSDLDocumentVisitor visitor)
|
void |
addExtension(TWSDLExtension e)
An TWSDLExtensionHandler will call this method to add an TWSDLExtension object |
void |
addFault(Fault f)
|
Iterable<? extends TWSDLExtension> |
extensions()
Gives iterator over TWSDLExtensions |
Iterable<Fault> |
faults()
|
Documentation |
getDocumentation()
|
QName |
getElementName()
|
Map<String,com.sun.codemodel.JClass> |
getFaults()
Gives a Map of fault name attribute value to the JClass |
Input |
getInput()
|
String |
getName()
|
String |
getNamespaceURI()
Gives namespace URI of a wsdl extensibility element. |
String |
getNameValue()
Gives the wsdl extensiblity element's name attribute value. |
Output |
getOutput()
|
String |
getParameterOrder()
|
TWSDLExtensible |
getParent()
Gives the parent of a wsdl extensibility element. |
OperationStyle |
getStyle()
|
String |
getUniqueKey()
|
QName |
getWSDLElementName()
Gives the WSDL element or WSDL extensibility element name |
void |
putFault(String faultName,
com.sun.codemodel.JClass exception)
|
void |
setDocumentation(Documentation d)
|
void |
setInput(Input i)
|
void |
setName(String name)
|
void |
setOutput(Output o)
|
void |
setParameterOrder(String s)
|
void |
setParent(TWSDLExtensible parent)
|
void |
setStyle(OperationStyle s)
|
void |
validateThis()
|
void |
withAllSubEntitiesDo(EntityAction action)
|
| Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity |
|---|
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllEntityReferencesDo, withAllQNamesDo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Operation(Locator locator)
| Method Detail |
|---|
public String getName()
public void setName(String name)
public String getUniqueKey()
public OperationStyle getStyle()
public void setStyle(OperationStyle s)
public Input getInput()
public void setInput(Input i)
public Output getOutput()
public void setOutput(Output o)
public void addFault(Fault f)
public Iterable<Fault> faults()
public String getParameterOrder()
public void setParameterOrder(String s)
public QName getElementName()
getElementName in interface Elementalpublic Documentation getDocumentation()
public void setDocumentation(Documentation d)
public void withAllSubEntitiesDo(EntityAction action)
withAllSubEntitiesDo in class Entity
public void accept(WSDLDocumentVisitor visitor)
throws Exception
Exceptionpublic void validateThis()
validateThis in class Entitypublic String getNameValue()
TWSDLExtensible
getNameValue in interface TWSDLExtensiblepublic String getNamespaceURI()
TWSDLExtensible
getNamespaceURI in interface TWSDLExtensiblepublic QName getWSDLElementName()
TWSDLExtensible
getWSDLElementName in interface TWSDLExtensiblepublic void addExtension(TWSDLExtension e)
TWSDLExtensibleTWSDLExtensionHandler will call this method to add an TWSDLExtension object
addExtension in interface TWSDLExtensiblee - non-null extension objectpublic Iterable<? extends TWSDLExtension> extensions()
TWSDLExtensibleTWSDLExtensions
extensions in interface TWSDLExtensiblepublic TWSDLExtensible getParent()
TWSDLExtensible
For example,
...
Here, the TWSDLExtensiblerepresenting wsdl:operation's parent would be wsdl:portType
- Specified by:
getParent in interface TWSDLExtensible
- Returns:
- null if the
TWSDLExtensible has no parent, root of wsdl document - wsdl:definition.
public void setParent(TWSDLExtensible parent)
public Map<String,com.sun.codemodel.JClass> getFaults()
TWSDLOperationJClass
getFaults in interface TWSDLOperation
public void putFault(String faultName,
com.sun.codemodel.JClass exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||