com.sun.tools.ws.wsdl.document
Class Message
java.lang.Object
com.sun.tools.ws.wsdl.framework.Entity
com.sun.tools.ws.wsdl.framework.GlobalEntity
com.sun.tools.ws.wsdl.document.Message
- All Implemented Interfaces:
- Elemental, GloballyKnown
public class Message
- extends GlobalEntity
Entity corresponding to the "message" WSDL element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message(Defining defining,
Locator locator,
ErrorReceiver errReceiver)
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