API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.soap. SOAPElement View Source
Author(s)
Since
Version
Serial
Hierarchy
 Node
      Node
          SOAPElement
Subinterfaces
Description
public interface SOAPElement
  An object representing an element of a SOAP message that is allowed but not specifically prescribed by a SOAP specification.
See also:   
Methods
Hide/Show inherited methods
public SOAPElement addAttribute (Name name, String value) throws SOAPException
  Adds an attribute with the specified name and value to this SOAPElement object.
public SOAPElement addAttribute (QName qname, String value) throws SOAPException
  Adds an attribute with the specified name and value to this SOAPElement object.
public SOAPElement addChildElement (Name name) throws SOAPException
  Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
public SOAPElement addChildElement (QName qname) throws SOAPException
  Creates a new SOAPElement object initialized with the given QName object and adds the new element to this SOAPElement object.
public SOAPElement addChildElement (SOAPElement element) throws SOAPException
  Add a SOAPElement as a child of this SOAPElement instance.
public SOAPElement addChildElement (String localName) throws SOAPException
  Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object.
public SOAPElement addChildElement (String localName, String prefix) throws SOAPException
  Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object.
public SOAPElement addChildElement (String localName, String prefix, String uri) throws SOAPException
  Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object.
public SOAPElement addNamespaceDeclaration (String prefix, String uri) throws SOAPException
  Adds a namespace declaration with the specified prefix and URI to this SOAPElement object.
public SOAPElement addTextNode (String text) throws SOAPException
  Creates a new Text object initialized with the given String and adds it to this SOAPElement object.
public QName createQName (String localName, String prefix) throws SOAPException
  Creates a QName whose namespace URI is the one associated with the parameter, prefix, in the context of this SOAPElement.
public Iterator getAllAttributes ()
  Returns an Iterator over all of the attribute Name objects in this SOAPElement object.
public Iterator getAllAttributesAsQNames ()
  Returns an Iterator over all of the attributes in this SOAPElement as QName objects.
public String getAttributeValue (Name name)
  Returns the value of the attribute with the specified name.
public String getAttributeValue (QName qname)
  Returns the value of the attribute with the specified qname.
public Iterator getChildElements ()
  Returns an Iterator over all the immediate child Nodes of this element.
public Iterator getChildElements (Name name)
  Returns an Iterator over all the immediate child Nodes of this element with the specified name.
public Iterator getChildElements (QName qname)
  Returns an Iterator over all the immediate child Nodes of this element with the specified qname.
public Name getElementName ()
  Returns the name of this SOAPElement object.
public QName getElementQName ()
  Returns the qname of this SOAPElement object.
public String getEncodingStyle ()
  Returns the encoding style for this SOAPElement object.
public Iterator getNamespacePrefixes ()
  Returns an Iterator over the namespace prefix Strings declared by this element.
public String getNamespaceURI (String prefix)
  Returns the URI of the namespace that has the given prefix.
public Iterator getVisibleNamespacePrefixes ()
  Returns an Iterator over the namespace prefix Strings visible to this element.
public boolean removeAttribute (Name name)
  Removes the attribute with the specified name.
public boolean removeAttribute (QName qname)
  Removes the attribute with the specified qname.
public void removeContents ()
  Detaches all children of this SOAPElement.
public boolean removeNamespaceDeclaration (String prefix)
  Removes the namespace declaration corresponding to the given prefix.
public SOAPElement setElementQName (QName newName) throws SOAPException
  Changes the name of this Element to newName if possible.
public void setEncodingStyle (String encodingStyle) throws SOAPException
  Sets the encoding style for this SOAPElement object to one specified.
Fields
Hide/Show inherited fields
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From Element]
The node is an Attr.
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From Element]
The node is an Attr.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From Element]
The node is a CDATASection.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From Element]
The node is a CDATASection.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From Element]
The node is a Comment.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From Element]
The node is a Comment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From Element]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From Element]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From Element]
The node is a Document.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From Element]
The node is a Document.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From Element]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From Element]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From Element]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From Element]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From Element]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From Element]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From Element]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From Element]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From Element]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From Element]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From Element]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From Element]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From Element]
The node is a DocumentType.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From Element]
The node is a DocumentType.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From Element]
The node is an Element.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From Element]
The node is an Element.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From Element]
The node is an Entity.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From Element]
The node is an Entity.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From Element]
The node is an EntityReference.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From Element]
The node is an EntityReference.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From Element]
The node is a Notation.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From Element]
The node is a Notation.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From Element]
The node is a ProcessingInstruction.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From Element]
The node is a ProcessingInstruction.
publicfinalstatic short TEXT_NODE = "3" [Inherited From Element]
The node is a Text node.
publicfinalstatic short TEXT_NODE = "3" [Inherited From Element]
The node is a Text node.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar