org.jboss.axis
Class MessagePart

java.lang.Object
  extended byjavax.xml.soap.SOAPPart (src) 
      extended byorg.jboss.axis.message.SOAPPartImpl (src) 
          extended byorg.jboss.axis.message.SOAPPartAxisImpl (src) 
              extended byorg.jboss.axis.MessagePart
All Implemented Interfaces:
org.w3c.dom.Document, org.w3c.dom.Node, Part (src)

public class MessagePart
extends SOAPPartAxisImpl (src)
implements Part (src)

The SOAPPart provides access to the root part of the Message which contains the envelope.

SOAPPart implements Part, providing common MIME operations.

SOAPPart also allows access to its envelope, as a string, byte[], InputStream, or SOAPEnvelope. (This functionality used to be in Message, and has been moved here more or less verbatim pending further cleanup.)


Field Summary
static int FORM_BODYINSTREAM
           
static int FORM_BYTES
           
static int FORM_FAULT
           
static int FORM_INPUTSTREAM
           
static int FORM_SOAPENVELOPE
           
static int FORM_STRING
           
protected  org.w3c.dom.Document mDocument
          SOAPEnvelope is the Document Elements of this XML docuement
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
MessagePart(Message (src)  parent, java.lang.Object initialContents, boolean isBodyStream)
          Create a new SOAPPart.
 
Method Summary
 void addMimeHeader(java.lang.String header, java.lang.String value)
          Add the specified MIME header, as per JAXM.
 org.w3c.dom.Node adoptNode(org.w3c.dom.Node node)
           
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
 org.w3c.dom.Node cloneNode(boolean deep)
           
 org.w3c.dom.Attr createAttribute(java.lang.String name)
           
 org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
           
 org.w3c.dom.Comment createComment(java.lang.String data)
           
 org.w3c.dom.DocumentFragment createDocumentFragment()
           
 org.w3c.dom.Element createElement(java.lang.String tagName)
           
 org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
           
 org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
           
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
           
 org.w3c.dom.Text createTextNode(java.lang.String data)
           
 java.util.Iterator getAllMimeHeaders()
          Retrieves all the headers for this SOAPPart object as an iterator over the MimeHeader objects.
 byte[] getAsBytes()
          Get the contents of this Part (not the headers!), as a byte array.
 SOAPEnvelopeAxisImpl (src) getAsSOAPEnvelope()
          Get the contents of this Part (not the MIME headers!), as a SOAPEnvelope.
 java.lang.String getAsString()
          Get the contents of this Part (not the headers!), as a String.
 org.w3c.dom.NamedNodeMap getAttributes()
           
 org.w3c.dom.NodeList getChildNodes()
           
 javax.xml.transform.Source getContent()
          Returns the content of the SOAPEnvelope as a JAXP Source object.
 java.lang.String getContentId()
          Content ID.
 java.lang.String getContentIdRef()
          Content ID.
 int getContentLength()
          Get the content length for this SOAPPart.
 java.lang.String getContentLocation()
          Content location.
 java.lang.String getContentType()
          Content type is always "text/xml" for SOAPParts.
 java.lang.Object getCurrentMessage()
          Get the current message, in whatever form it happens to be right now.
 org.w3c.dom.DocumentType getDoctype()
           
 org.w3c.dom.Element getDocumentElement()
           
 org.w3c.dom.Element getElementById(java.lang.String elementId)
           
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
           
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getEncoding()
           
 SOAPEnvelope (src) getEnvelope()
          Gets the SOAPEnvelope object associated with this SOAPPart object.
 org.w3c.dom.Node getFirstChild()
           
 org.w3c.dom.DOMImplementation getImplementation()
           
 org.w3c.dom.Node getLastChild()
           
 java.lang.String getLocalName()
           
 java.util.Iterator getMatchingMimeHeaders(java.lang.String[] match)
          Get all headers that match.
 Message (src) getMessage()
          Get the Message for this Part.
 java.lang.String[] getMimeHeader(java.lang.String name)
          Gets all the values of the MimeHeader object in this SOAPPart object that is identified by the given String.
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
 java.lang.String getNodeName()
          Node Implementation
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 java.util.Iterator getNonMatchingMimeHeaders(java.lang.String[] match)
          Get all headers that do not match.
 org.w3c.dom.Document getOwnerDocument()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
 int getSize()
          Get the total size in bytes, including headers, of this Part.
 org.w3c.dom.Document getSOAPDocument()
           
 boolean getStandalone()
           
 boolean getStrictErrorChecking()
           
 java.lang.String getVersion()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep)
           
 org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
           
 boolean isSupported(java.lang.String feature, java.lang.String version)
           
 void normalize()
           
 void removeAllMimeHeaders()
          Removes all the MimeHeader objects for this SOAPEnvelope object.
 org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
           
 void removeMimeHeader(java.lang.String header)
          Removes all MIME headers that match the given name.
 org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
           
 void setContent(javax.xml.transform.Source source)
          Sets the content of the SOAPEnvelope object with the data from the given Source object.
 void setContentId(java.lang.String newCid)
          Sets Content-Id of this part.
 void setContentLocation(java.lang.String loc)
          Set content location.
 void setCurrentMessage(java.lang.Object currMsg, int form)
          Set the current message
 void setEncoding(java.lang.String s)
           
 void setMessage(Message (src)  msg)
          Set the Message for this Part.
 void setMimeHeader(java.lang.String name, java.lang.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.
 void setNodeValue(java.lang.String nodeValue)
           
 void setPrefix(java.lang.String prefix)
           
 void setSOAPEnvelope(SOAPEnvelopeAxisImpl (src)  env)
          This set the SOAP Envelope for this part.
 void setStandalone(boolean flag)
           
 void setStrictErrorChecking(boolean flag)
           
 void setVersion(java.lang.String s)
           
 void writeTo(java.io.Writer writer)
          Write the contents to the specified writer.
 
Methods inherited from class org.jboss.axis.message.SOAPPartImpl (src)
compareDocumentPosition, getBaseURI, getDocumentURI, getDomConfig, getFeature, getInputEncoding, getTextContent, getUserData, getXmlEncoding, getXmlStandalone, getXmlVersion, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalizeDocument, renameNode, setDocumentURI, setTextContent, setUserData, setXmlStandalone, setXmlVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_STRING

public static final int FORM_STRING
See Also:
Constant Field Values (src)

FORM_INPUTSTREAM

public static final int FORM_INPUTSTREAM
See Also:
Constant Field Values (src)

FORM_SOAPENVELOPE

public static final int FORM_SOAPENVELOPE
See Also:
Constant Field Values (src)

FORM_BYTES

public static final int FORM_BYTES
See Also:
Constant Field Values (src)

FORM_BODYINSTREAM

public static final int FORM_BODYINSTREAM
See Also:
Constant Field Values (src)

FORM_FAULT

public static final int FORM_FAULT
See Also:
Constant Field Values (src)

mDocument

protected org.w3c.dom.Document mDocument
SOAPEnvelope is the Document Elements of this XML docuement

Constructor Detail

MessagePart

public MessagePart(Message (src)  parent,
                   java.lang.Object initialContents,
                   boolean isBodyStream)
Create a new SOAPPart.

Do not call this directly! Should only be called by Message.

Parameters:
parent - the parent Message
initialContents - the initial contens Object
isBodyStream - if the body is in a stream
Method Detail

getMessage

public Message (src)  getMessage()
Get the Message for this Part.

Returns:
the Message for this Part

setMessage

public void setMessage(Message (src)  msg)
Set the Message for this Part. Do not call this Directly. Called by Message.

Parameters:
msg - the Message for this part

getContentType

public java.lang.String getContentType()
Content type is always "text/xml" for SOAPParts.

Specified by:
getContentType in interface Part (src)
Returns:
the content type

getContentLength

public int getContentLength()
Get the content length for this SOAPPart. This will force buffering of the SOAPPart, but it will also cache the byte[] form of the SOAPPart.

Returns:
the content length in bytes

setSOAPEnvelope

public void setSOAPEnvelope(SOAPEnvelopeAxisImpl (src)  env)
This set the SOAP Envelope for this part.

Note: It breaks the chicken/egg created. I need a message to create an attachment... From the attachment I should be able to get a reference... I now want to edit elements in the envelope in order to place the attachment reference to it. How do I now update the SOAP envelope with what I've changed?

Parameters:
env - the SOAPEnvelope for this SOAPPart

getSize

public int getSize()
Get the total size in bytes, including headers, of this Part. TODO: For now, since we aren't actually doing MIME yet, this is the same as getContentLength(). Soon it will be different.

Returns:
the total size

writeTo

public void writeTo(java.io.Writer writer)
             throws java.io.IOException
Write the contents to the specified writer.

Parameters:
writer - the Writer to write to
Throws:
java.io.IOException

getCurrentMessage

public java.lang.Object getCurrentMessage()
Get the current message, in whatever form it happens to be right now. Will return a String, byte[], InputStream, or SOAPEnvelope, depending on circumstances.

The method name is historical. TODO: rename this for clarity; should be more like getContents.

Returns:
the current content

setCurrentMessage

public void setCurrentMessage(java.lang.Object currMsg,
                              int form)
Set the current message

Parameters:
currMsg -
form -

getAsBytes

public byte[] getAsBytes()
                  throws AxisFault (src) 
Get the contents of this Part (not the headers!), as a byte array. This will force buffering of the message.

Returns:
an array of bytes containing a byte representation of this Part
Throws:
AxisFault (src) - if this Part can't be serialized to the byte array

getAsString

public java.lang.String getAsString()
                             throws AxisFault (src) 
Get the contents of this Part (not the headers!), as a String. This will force buffering of the message.

Returns:
a String containing the content of this message
Throws:
AxisFault (src) - if there is an error serializing this part

getAsSOAPEnvelope

public SOAPEnvelopeAxisImpl (src)  getAsSOAPEnvelope()
                                       throws AxisFault (src) 
Get the contents of this Part (not the MIME headers!), as a SOAPEnvelope. This will force a complete parse of the message.

Returns:
a SOAPEnvelope containing the message content
Throws:
AxisFault (src) - if the envelope could not be constructed

addMimeHeader

public void addMimeHeader(java.lang.String header,
                          java.lang.String value)
Add the specified MIME header, as per JAXM.

Specified by:
addMimeHeader in interface Part (src)
Overrides:
addMimeHeader in class SOAPPartImpl (src)
Parameters:
header - the header to add
value - the value of that header

getContentLocation

public java.lang.String getContentLocation()
Content location.

Specified by:
getContentLocation in interface Part (src)
Overrides:
getContentLocation in class SOAPPartImpl (src)
Returns:
the content location

setContentLocation

public void setContentLocation(java.lang.String loc)
Set content location.

Specified by:
setContentLocation in interface Part (src)
Overrides:
setContentLocation in class SOAPPartImpl (src)
Parameters:
loc - the content location

setContentId

public void setContentId(java.lang.String newCid)
Sets Content-Id of this part. already defined.

Specified by:
setContentId in interface Part (src)
Overrides:
setContentId in class SOAPPartImpl (src)
Parameters:
newCid - new Content-Id

getContentId

public java.lang.String getContentId()
Content ID.

Specified by:
getContentId in interface Part (src)
Overrides:
getContentId in class SOAPPartImpl (src)
Returns:
the content ID

getContentIdRef

public java.lang.String getContentIdRef()
Content ID.

Specified by:
getContentIdRef in interface Part (src)
Returns:
the contentId reference value that should be used directly as an href in a SOAP element to reference this attachment. Not part of JAX-RPC, JAX-M, SAAJ, etc.

getMatchingMimeHeaders

public java.util.Iterator getMatchingMimeHeaders(java.lang.String[] match)
Get all headers that match.

Specified by:
getMatchingMimeHeaders in interface Part (src)
Overrides:
getMatchingMimeHeaders in class SOAPPartImpl (src)
Parameters:
match - an array of Strings giving mime header names
Returns:
an Iterator over all values matching these headers

getNonMatchingMimeHeaders

public java.util.Iterator getNonMatchingMimeHeaders(java.lang.String[] match)
Get all headers that do not match.

Specified by:
getNonMatchingMimeHeaders in interface Part (src)
Overrides:
getNonMatchingMimeHeaders in class SOAPPartImpl (src)
Parameters:
match - an array of Strings giving mime header names
Returns:
an Iterator over all values not matching these headers

setContent

public void setContent(javax.xml.transform.Source source)
                throws SOAPException (src) 
Sets the content of the SOAPEnvelope object with the data from the given Source object.

Overrides:
setContent in class SOAPPartImpl (src)
Parameters:
source - javax.xml.transform.Source object with the data to be set
Throws:
SOAPException (src) - if there is a problem in setting the source
See Also:
getContent()

getContent

public javax.xml.transform.Source getContent()
                                      throws SOAPException (src) 
Returns the content of the SOAPEnvelope as a JAXP Source object.

Overrides:
getContent in class SOAPPartImpl (src)
Returns:
the content as a javax.xml.transform.Source object
Throws:
SOAPException (src) - if the implementation cannot convert the specified Source object
See Also:
setContent(javax.xml.transform.Source)

getAllMimeHeaders

public java.util.Iterator getAllMimeHeaders()
Retrieves all the headers for this SOAPPart object as an iterator over the MimeHeader objects.

Overrides:
getAllMimeHeaders in class SOAPPartImpl (src)
Returns:
an Iterator object with all of the Mime headers for this SOAPPart object

setMimeHeader

public void setMimeHeader(java.lang.String name,
                          java.lang.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. If there is a match, this method clears all existing values for the first header that matches and sets the given value instead. If more than one header has the given name, this method removes all of the matching headers after the first one.

Note that RFC822 headers can contain only US-ASCII characters.

Overrides:
setMimeHeader in class SOAPPartImpl (src)
Parameters:
name - a String giving the header name for which to search
value - a String giving the value to be set. This value will be substituted for the current value(s) of the first header that is a match if there is one. If there is no match, this value will be the value for a new MimeHeader object.
See Also:
getMimeHeader(java.lang.String)

getMimeHeader

public java.lang.String[] getMimeHeader(java.lang.String name)
Gets all the values of the MimeHeader object in this SOAPPart object that is identified by the given String.

Specified by:
getMimeHeader in interface Part (src)
Overrides:
getMimeHeader in class SOAPPartImpl (src)
Parameters:
name - the name of the header; example: "Content-Type"
Returns:
a String array giving all the values for the specified header
See Also:
setMimeHeader(java.lang.String, java.lang.String)

removeAllMimeHeaders

public void removeAllMimeHeaders()
Removes all the MimeHeader objects for this SOAPEnvelope object.

Overrides:
removeAllMimeHeaders in class SOAPPartImpl (src)

removeMimeHeader

public void removeMimeHeader(java.lang.String header)
Removes all MIME headers that match the given name.

Overrides:
removeMimeHeader in class SOAPPartImpl (src)
Parameters:
header - a String giving the name of the MIME header(s) to be removed

getEnvelope

public SOAPEnvelope (src)  getEnvelope()
                         throws SOAPException (src) 
Gets the SOAPEnvelope object associated with this SOAPPart object. Once the SOAP envelope is obtained, it can be used to get its contents.

Overrides:
getEnvelope in class SOAPPartImpl (src)
Returns:
the SOAPEnvelope object for this SOAPPart object
Throws:
SOAPException (src) - if there is a SOAP error

getSOAPDocument

public org.w3c.dom.Document getSOAPDocument()
Since:
SAAJ 1.2

getDoctype

public org.w3c.dom.DocumentType getDoctype()
Specified by:
getDoctype in interface org.w3c.dom.Document
Overrides:
getDoctype in class SOAPPartImpl (src)
Returns:

getImplementation

public org.w3c.dom.DOMImplementation getImplementation()
Specified by:
getImplementation in interface org.w3c.dom.Document
Overrides:
getImplementation in class SOAPPartImpl (src)
Returns:

getDocumentElement

public org.w3c.dom.Element getDocumentElement()
Specified by:
getDocumentElement in interface org.w3c.dom.Document
Overrides:
getDocumentElement in class SOAPPartImpl (src)

createElement

public org.w3c.dom.Element createElement(java.lang.String tagName)
                                  throws org.w3c.dom.DOMException
Specified by:
createElement in interface org.w3c.dom.Document
Overrides:
createElement in class SOAPPartImpl (src)
Parameters:
tagName -
Returns:
Throws:
org.w3c.dom.DOMException

createDocumentFragment

public org.w3c.dom.DocumentFragment createDocumentFragment()
Specified by:
createDocumentFragment in interface org.w3c.dom.Document
Overrides:
createDocumentFragment in class SOAPPartImpl (src)

createTextNode

public org.w3c.dom.Text createTextNode(java.lang.String data)
Specified by:
createTextNode in interface org.w3c.dom.Document
Overrides:
createTextNode in class SOAPPartImpl (src)

createComment

public org.w3c.dom.Comment createComment(java.lang.String data)
Specified by:
createComment in interface org.w3c.dom.Document
Overrides:
createComment in class SOAPPartImpl (src)

createCDATASection

public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
                                            throws org.w3c.dom.DOMException
Specified by:
createCDATASection in interface org.w3c.dom.Document
Overrides:
createCDATASection in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                                     java.lang.String data)
                                                              throws org.w3c.dom.DOMException
Specified by:
createProcessingInstruction in interface org.w3c.dom.Document
Overrides:
createProcessingInstruction in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

createAttribute

public org.w3c.dom.Attr createAttribute(java.lang.String name)
                                 throws org.w3c.dom.DOMException
Specified by:
createAttribute in interface org.w3c.dom.Document
Overrides:
createAttribute in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
                                                  throws org.w3c.dom.DOMException
Specified by:
createEntityReference in interface org.w3c.dom.Document
Overrides:
createEntityReference in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
Specified by:
getElementsByTagName in interface org.w3c.dom.Document
Overrides:
getElementsByTagName in class SOAPPartImpl (src)

importNode

public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
                                   boolean deep)
                            throws org.w3c.dom.DOMException
Specified by:
importNode in interface org.w3c.dom.Document
Overrides:
importNode in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

createElementNS

public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
                                           java.lang.String qualifiedName)
                                    throws org.w3c.dom.DOMException
Specified by:
createElementNS in interface org.w3c.dom.Document
Overrides:
createElementNS in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

createAttributeNS

public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
                                          java.lang.String qualifiedName)
                                   throws org.w3c.dom.DOMException
Specified by:
createAttributeNS in interface org.w3c.dom.Document
Overrides:
createAttributeNS in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Document
Overrides:
getElementsByTagNameNS in class SOAPPartImpl (src)

getElementById

public org.w3c.dom.Element getElementById(java.lang.String elementId)
Specified by:
getElementById in interface org.w3c.dom.Document
Overrides:
getElementById in class SOAPPartImpl (src)

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String s)

getStandalone

public boolean getStandalone()

setStandalone

public void setStandalone(boolean flag)

getStrictErrorChecking

public boolean getStrictErrorChecking()
Overrides:
getStrictErrorChecking in class SOAPPartImpl (src)

setStrictErrorChecking

public void setStrictErrorChecking(boolean flag)
Overrides:
setStrictErrorChecking in class SOAPPartImpl (src)

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String s)

adoptNode

public org.w3c.dom.Node adoptNode(org.w3c.dom.Node node)
                           throws org.w3c.dom.DOMException
Overrides:
adoptNode in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

getNodeName

public java.lang.String getNodeName()
Node Implementation

Specified by:
getNodeName in interface org.w3c.dom.Node
Overrides:
getNodeName in class SOAPPartImpl (src)

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Specified by:
getNodeValue in interface org.w3c.dom.Node
Overrides:
getNodeValue in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws org.w3c.dom.DOMException
Specified by:
setNodeValue in interface org.w3c.dom.Node
Overrides:
setNodeValue in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class SOAPPartImpl (src)

getParentNode

public org.w3c.dom.Node getParentNode()
Specified by:
getParentNode in interface org.w3c.dom.Node
Overrides:
getParentNode in class SOAPPartImpl (src)

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node
Overrides:
getChildNodes in class SOAPPartImpl (src)

getFirstChild

public org.w3c.dom.Node getFirstChild()
Specified by:
getFirstChild in interface org.w3c.dom.Node
Overrides:
getFirstChild in class SOAPPartImpl (src)

getLastChild

public org.w3c.dom.Node getLastChild()
Specified by:
getLastChild in interface org.w3c.dom.Node
Overrides:
getLastChild in class SOAPPartImpl (src)

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
Specified by:
getPreviousSibling in interface org.w3c.dom.Node
Overrides:
getPreviousSibling in class SOAPPartImpl (src)

getNextSibling

public org.w3c.dom.Node getNextSibling()
Specified by:
getNextSibling in interface org.w3c.dom.Node
Overrides:
getNextSibling in class SOAPPartImpl (src)

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Specified by:
getAttributes in interface org.w3c.dom.Node
Overrides:
getAttributes in class SOAPPartImpl (src)

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Specified by:
getOwnerDocument in interface org.w3c.dom.Node
Overrides:
getOwnerDocument in class SOAPPartImpl (src)

insertBefore

public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node refChild)
                              throws org.w3c.dom.DOMException
Specified by:
insertBefore in interface org.w3c.dom.Node
Overrides:
insertBefore in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

replaceChild

public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node oldChild)
                              throws org.w3c.dom.DOMException
Specified by:
replaceChild in interface org.w3c.dom.Node
Overrides:
replaceChild in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

removeChild

public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
                             throws org.w3c.dom.DOMException
Specified by:
removeChild in interface org.w3c.dom.Node
Overrides:
removeChild in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                             throws org.w3c.dom.DOMException
Specified by:
appendChild in interface org.w3c.dom.Node
Overrides:
appendChild in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node
Overrides:
hasChildNodes in class SOAPPartImpl (src)

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in class SOAPPartImpl (src)

normalize

public void normalize()
Specified by:
normalize in interface org.w3c.dom.Node
Overrides:
normalize in class SOAPPartImpl (src)

isSupported

public boolean isSupported(java.lang.String feature,
                           java.lang.String version)
Specified by:
isSupported in interface org.w3c.dom.Node
Overrides:
isSupported in class SOAPPartImpl (src)

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface org.w3c.dom.Node
Overrides:
getNamespaceURI in class SOAPPartImpl (src)

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.w3c.dom.Node
Overrides:
getPrefix in class SOAPPartImpl (src)

setPrefix

public void setPrefix(java.lang.String prefix)
               throws org.w3c.dom.DOMException
Specified by:
setPrefix in interface org.w3c.dom.Node
Overrides:
setPrefix in class SOAPPartImpl (src)
Throws:
org.w3c.dom.DOMException

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface org.w3c.dom.Node
Overrides:
getLocalName in class SOAPPartImpl (src)

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface org.w3c.dom.Node
Overrides:
hasAttributes in class SOAPPartImpl (src)