Package 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.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
-
Constructor Summary
Constructors Constructor Description Message(Defining defining, Locator locator, ErrorReceiver errReceiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(WSDLDocumentVisitor visitor)voidadd(MessagePart part)DocumentationgetDocumentation()QNamegetElementName()KindgetKind()MessagePartgetPart(String name)List<MessagePart>getParts()intnumParts()Iterator<MessagePart>parts()voidsetDocumentation(Documentation d)voidvalidateThis()voidwithAllSubEntitiesDo(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:
getKindin interfaceGloballyKnown- Specified by:
getKindin classGlobalEntity
-
getElementName
public QName getElementName()
-
getDocumentation
public Documentation getDocumentation()
-
setDocumentation
public void setDocumentation(Documentation d)
-
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDoin classEntity
-
accept
public void accept(WSDLDocumentVisitor visitor) throws Exception
- Throws:
Exception
-
validateThis
public void validateThis()
- Specified by:
validateThisin classEntity
-
-