oracle.wsdl.internal
Interface Message

All Superinterfaces:
Documentable, Namable, java.io.Serializable, WSDLElement

public interface Message
extends WSDLElement, Namable, Documentable

This interface represents WSDL Message definition.


Method Summary
TypeMethod
 void addPart(Part part)
          Add a part
 Part getPart(java.lang.String name)
          Get the part with the specified name
 java.util.List getParts()
          Get all parts of this message.
 void removePart(java.lang.String name)
          Remove the part with the specified name
 
Methods inherited from interface oracle.wsdl.internal.WSDLElement
getOwnerDefinitions, getParent, serialize
 
Methods inherited from interface oracle.wsdl.internal.Namable
getName, setName
 
Methods inherited from interface oracle.wsdl.internal.Documentable
getDocumentation, setDocumentation
 

Method Detail

getParts

public java.util.List getParts()
Get all parts of this message. The order of parts is preserved.
Returns:
a list of parts.

getPart

public Part getPart(java.lang.String name)
Get the part with the specified name
Parameters:
name - the name of part
Returns:
the part; return null if not exist.

addPart

public void addPart(Part part)
Add a part
Parameters:
part - the part to add

removePart

public void removePart(java.lang.String name)
Remove the part with the specified name
Parameters:
name - the name of part to be removed


Copyright © 2001 Oracle SOAP. All Rights Reserved.