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

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

public class Message
extends GlobalEntity

Entity corresponding to the "message" WSDL element.


Field Summary
 
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
 
Constructor Summary
Message(Defining defining, Locator locator, ErrorReceiver errReceiver)
           
 
Method Summary
 void accept(WSDLDocumentVisitor visitor)
           
 void add(MessagePart part)
           
 Documentation getDocumentation()
           
 QName getElementName()
           
 Kind getKind()
           
 MessagePart getPart(String name)
           
 List<MessagePart> getParts()
           
 int numParts()
           
 Iterator<MessagePart> parts()
           
 void setDocumentation(Documentation d)
           
 void validateThis()
           
 void withAllSubEntitiesDo(EntityAction action)
           
 
Methods inherited from class com.sun.tools.ws.wsdl.framework.GlobalEntity
getDefining, getName, setName
 
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
 
Methods inherited from interface com.sun.tools.ws.wsdl.framework.Elemental
getLocator
 

Constructor Detail

Message

public Message(Defining defining,
               Locator locator,
               ErrorReceiver errReceiver)
Method Detail

add

public void add(MessagePart part)

parts

public Iterator<MessagePart> parts()

getParts

public List<MessagePart> getParts()

getPart

public MessagePart getPart(String name)

numParts

public int numParts()

getKind

public Kind getKind()
Specified by:
getKind in interface GloballyKnown
Specified by:
getKind in class GlobalEntity

getElementName

public QName getElementName()

getDocumentation

public Documentation getDocumentation()

setDocumentation

public void setDocumentation(Documentation d)

withAllSubEntitiesDo

public void withAllSubEntitiesDo(EntityAction action)
Overrides:
withAllSubEntitiesDo in class Entity

accept

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

validateThis

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