com.sun.tools.ws.wsdl.document
Class Output

java.lang.Object
  extended by com.sun.tools.ws.wsdl.framework.Entity
      extended by com.sun.tools.ws.wsdl.document.Output
All Implemented Interfaces:
TWSDLExtensible, Elemental

public class Output
extends Entity
implements TWSDLExtensible

Entity corresponding to the "output" child element of a port type operation.


Field Summary
 
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
 
Constructor Summary
Output(Locator locator, ErrorReceiver errReceiver)
           
 
Method Summary
 void accept(WSDLDocumentVisitor visitor)
           
 void addExtension(TWSDLExtension e)
          An TWSDLExtensionHandler will call this method to add an TWSDLExtension object
 Iterable<? extends TWSDLExtension> extensions()
          Gives iterator over TWSDLExtensions
 String getAction()
           
 Documentation getDocumentation()
           
 QName getElementName()
           
 QName getMessage()
           
 String getName()
           
 String getNamespaceURI()
          Gives namespace URI of a wsdl extensibility element.
 String getNameValue()
          Gives the wsdl extensiblity element's name attribute value.
 TWSDLExtensible getParent()
          Gives the parent of a wsdl extensibility element.
 QName getWSDLElementName()
          Gives the WSDL element or WSDL extensibility element name
 Message resolveMessage(AbstractDocument document)
           
 void setAction(String _action)
           
 void setDocumentation(Documentation d)
           
 void setMessage(QName n)
           
 void setName(String name)
           
 void setParent(TWSDLExtensible parent)
           
 void validateThis()
           
 void withAllEntityReferencesDo(EntityReferenceAction action)
           
 void withAllQNamesDo(QNameAction action)
           
 
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllSubEntitiesDo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Output

public Output(Locator locator,
              ErrorReceiver errReceiver)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getMessage

public QName getMessage()

setMessage

public void setMessage(QName n)

resolveMessage

public Message resolveMessage(AbstractDocument document)

getElementName

public QName getElementName()
Specified by:
getElementName in interface Elemental

getDocumentation

public Documentation getDocumentation()

setDocumentation

public void setDocumentation(Documentation d)

withAllQNamesDo

public void withAllQNamesDo(QNameAction action)
Overrides:
withAllQNamesDo in class Entity

withAllEntityReferencesDo

public void withAllEntityReferencesDo(EntityReferenceAction action)
Overrides:
withAllEntityReferencesDo in class Entity

accept

public void accept(WSDLDocumentVisitor visitor)
            throws Exception
Throws:
Exception

validateThis

public void validateThis()
Specified by:
validateThis in class Entity

addExtension

public void addExtension(TWSDLExtension e)
Description copied from interface: TWSDLExtensible
An TWSDLExtensionHandler will call this method to add an TWSDLExtension object

Specified by:
addExtension in interface TWSDLExtensible
Parameters:
e - non-null extension object

getWSDLElementName

public QName getWSDLElementName()
Description copied from interface: TWSDLExtensible
Gives the WSDL element or WSDL extensibility element name

Specified by:
getWSDLElementName in interface TWSDLExtensible

getParent

public TWSDLExtensible getParent()
Description copied from interface: TWSDLExtensible
Gives the parent of a wsdl extensibility element.
 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.

setParent

public void setParent(TWSDLExtensible parent)

getNamespaceURI

public String getNamespaceURI()
Description copied from interface: TWSDLExtensible
Gives namespace URI of a wsdl extensibility element.

Specified by:
getNamespaceURI in interface TWSDLExtensible

getNameValue

public String getNameValue()
Description copied from interface: TWSDLExtensible
Gives the wsdl extensiblity element's name attribute value. It can be null as @name on some of the wsdl extensibility elements are optinal such as wsdl:input

Specified by:
getNameValue in interface TWSDLExtensible

extensions

public Iterable<? extends TWSDLExtension> extensions()
Description copied from interface: TWSDLExtensible
Gives iterator over TWSDLExtensions

Specified by:
extensions in interface TWSDLExtensible

getAction

public String getAction()

setAction

public void setAction(String _action)