API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.soap. SOAPPart View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      SOAPPart
Implements
 Document
 Node
Subclasses
Description
publicabstract abstract class SOAPPart
  The container for the SOAP-specific portion of a SOAPMessage object.
See also:   
Constructors
public SOAPPart ()
Methods
Hide/Show inherited methods
publicabstract void addMimeHeader (String name, String value)
  Creates a MimeHeader object with the specified name and value and adds it to this SOAPPart object.
publicabstract Iterator getAllMimeHeaders ()
  Retrieves all the headers for this SOAPPart object as an iterator over the MimeHeader objects.
publicabstract Source getContent () throws SOAPException
  Returns the content of the SOAPEnvelope as a JAXP Source object.
public String getContentId ()
  Retrieves the value of the MIME header whose name is "Content-Id".
public String getContentLocation ()
  Retrieves the value of the MIME header whose name is "Content-Location".
publicabstract SOAPEnvelope getEnvelope () throws SOAPException
  Gets the SOAPEnvelope object associated with this SOAPPart object.
publicabstract Iterator getMatchingMimeHeaders (String names)
  Retrieves all MimeHeader objects that match a name in the given array.
publicabstract String getMimeHeader (String name)
  Gets all the values of the MimeHeader object in this SOAPPart object that is identified by the given String.
publicabstract Iterator getNonMatchingMimeHeaders (String names)
  Retrieves all MimeHeader objects whose name does not match a name in the given array.
publicabstract void removeAllMimeHeaders ()
Removes all the MimeHeader objects for this SOAPEnvelope object.
publicabstract void removeMimeHeader (String header)
  Removes all MIME headers that match the given name.
publicabstract void setContent (Source source) throws SOAPException
  Sets the content of the SOAPEnvelope object with the data from the given Source object.
public void setContentId (String contentId)
  Sets the value of the MIME header named "Content-Id" to the given String.
public void setContentLocation (String contentLocation)
  Sets the value of the MIME header "Content-Location" to the given String.
publicabstract void setMimeHeader (String name, String value)
  Changes the first header entry that matches the given header name so that its value is the given value, adding a new header with the given name and value if no existing header is a match.
Fields
Hide/Show inherited fields
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From Node]
The node is an Attr.
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From Node]
The node is an Attr.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From Node]
The node is a CDATASection.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From Node]
The node is a CDATASection.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From Node]
The node is a Comment.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From Node]
The node is a Comment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From Node]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From Node]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From Node]
The node is a Document.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From Node]
The node is a Document.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From Node]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From Node]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From Node]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From Node]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From Node]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From Node]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From Node]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From Node]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From Node]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From Node]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From Node]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From Node]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From Node]
The node is a DocumentType.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From Node]
The node is a DocumentType.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From Node]
The node is an Element.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From Node]
The node is an Element.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From Node]
The node is an Entity.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From Node]
The node is an Entity.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From Node]
The node is an EntityReference.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From Node]
The node is an EntityReference.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From Node]
The node is a Notation.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From Node]
The node is a Notation.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From Node]
The node is a ProcessingInstruction.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From Node]
The node is a ProcessingInstruction.
publicfinalstatic short TEXT_NODE = "3" [Inherited From Node]
The node is a Text node.
publicfinalstatic short TEXT_NODE = "3" [Inherited From Node]
The node is a Text node.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar