|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.message.NodeImpl org.apache.axis.message.SOAPElementImpl org.apache.axis.message.SOAPElementAxisImpl
SOAPElementImpl is the base type of nodes of the SOAP message parse tree.
Note: it was made Serializable to help users of Apache SOAP who had exploited the serializability of the DOM tree to migrate to Axis.
Nested Class Summary | |
protected static class |
SOAPElementAxisImpl.QNameAttr
|
Field Summary | |
protected boolean |
_isRoot
|
protected Attributes |
attributes
|
protected DeserializationContext |
context
|
protected Element |
elementRep
|
protected String |
encodingStyle
Our encoding style, if any |
protected int |
endEventIndex
|
protected String |
href
|
protected String |
id
|
protected SOAPEnvelopeAxisImpl |
message
|
protected String |
name
|
ArrayList |
namespaces
|
protected String |
namespaceURI
|
protected String |
prefix
|
protected Vector |
qNameAttrs
|
protected SAX2EventRecorder |
recorder
|
protected MessagePart |
soapPart
|
protected int |
startContentsIndex
|
protected int |
startEventIndex
|
protected javax.xml.namespace.QName |
typeQName
|
Fields inherited from class org.apache.axis.message.NodeImpl |
domNode, soapParent |
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 | |
SOAPElementAxisImpl()
No-arg constructor for building messages? |
|
SOAPElementAxisImpl(Element elem)
|
|
SOAPElementAxisImpl(javax.xml.soap.Name eltName)
|
|
SOAPElementAxisImpl(javax.xml.namespace.QName name,
Object value)
|
|
SOAPElementAxisImpl(String localPart)
|
|
SOAPElementAxisImpl(String namespace,
String localPart)
|
|
SOAPElementAxisImpl(String namespace,
String localPart,
Object value)
|
|
SOAPElementAxisImpl(String localPart,
String prefix,
String namespace)
|
|
SOAPElementAxisImpl(String namespace,
String localPart,
String prefix,
Attributes attributes,
DeserializationContext context)
|
Method Summary | |
javax.xml.soap.SOAPElement |
addAttribute(javax.xml.soap.Name name,
String value)
Adds an attribute with the specified name and value to this SOAPElement object. |
void |
addAttribute(String namespace,
String localName,
javax.xml.namespace.QName value)
|
void |
addAttribute(String namespace,
String localName,
String value)
|
void |
addAttribute(String prefix,
String namespace,
String localName,
String value)
|
void |
addChild(SOAPElementAxisImpl el)
Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement. |
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.Name name)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.SOAPElement element)
The added child must be an instance of MessageElement rather than an abitrary SOAPElement otherwise a (wrapped) ClassCastException will be thrown. |
javax.xml.soap.SOAPElement |
addChildElement(String localName)
Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(String localName,
String prefix)
Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(String localName,
String prefix,
String uri)
Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object. |
void |
addMapping(Mapping map)
|
javax.xml.soap.SOAPElement |
addNamespaceDeclaration(String prefix,
String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addTextNode(String value)
Text nodes are not supported. |
Node |
appendChild(Node newChild)
|
Node |
cloneNode(boolean deep)
|
protected Object |
clonning()
protected clone method (not public) copied status ------------------- protected String name ; Y protected String prefix ; Y protected String namespaceURI ; Y protected transient Attributes attributes Y protected String id; Y? protected String href; Y? protected boolean _isRoot = true; Y? protected SOAPEnvelope message = null; N? protected boolean _isDirty = false; Y? protected transient DeserializationContext context; Y? protected transient QName typeQName = null; Y? protected Vector qNameAttrs = null; Y? protected transient SAX2EventRecorder recorder = null; N? protected int startEventIndex = 0; N? protected int startContentsIndex = 0; N? protected int endEventIndex = -1; N? protected Element elementRep = null; N? protected MessageElement parent = null; N public ArrayList namespaces = null; Y protected String encodingStyle = null; N? private Object objectValue = null; N? |
void |
detachAllChildren()
|
void |
detachNode()
Break the relationship between this element and its parent, if any. |
Iterator |
getAllAttributes()
Returns an Iterator over all of the attribute Name objects in this SOAPElement object. |
Document |
getAsDocument()
|
Element |
getAsDOM()
|
String |
getAsString()
|
String |
getAsStringFromInternal()
Get a string representation from the internal structure. |
String |
getAttribute(String name)
|
Attr |
getAttributeNode(String name)
|
Attr |
getAttributeNodeNS(String namespaceURI,
String localName)
|
String |
getAttributeNS(String namespaceURI,
String localName)
|
NamedNodeMap |
getAttributes()
|
Attributes |
getAttributesEx()
|
String |
getAttributeValue(javax.xml.soap.Name name)
Returns the value of the attribute with the specified name. |
String |
getAttributeValue(String localName)
|
Iterator |
getChildElements()
Returns an Iterator over all the immediate child Nodes of this element. |
Iterator |
getChildElements(javax.xml.soap.Name name)
Returns an Iterator over all the immediate child Nodes of this element with the specified name. |
NodeList |
getChildNodes()
|
List |
getChildren()
|
Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
javax.xml.soap.Name |
getElementName()
Returns the name of this SOAPElement object. |
NodeList |
getElementsByTagName(String name)
|
NodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
|
protected NodeList |
getElementsNS(Element parent,
String namespaceURI,
String localName)
helper method for recusively getting the element that has namespace URI and localname |
String |
getEncodingStyle()
Get the encoding style. |
SOAPEnvelopeAxisImpl |
getEnvelope()
|
Node |
getFirstChild()
|
Deserializer |
getFixupDeserializer()
|
String |
getHref()
|
String |
getID()
|
Node |
getLastChild()
|
String |
getLocalName()
|
String |
getName()
|
Iterator |
getNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings declared by this element. |
String |
getNamespaceURI()
|
String |
getNamespaceURI(String prefix)
Returns the URI of the namespace that has the given prefix. |
Node |
getNextSibling()
|
short |
getNodeType()
|
String |
getNodeValue()
|
Object |
getObjectValue()
Returns value of the node as an object of registered type. |
Object |
getObjectValue(Class cls)
Returns value of the node as an object of registered type. |
Document |
getOwnerDocument()
|
javax.xml.soap.SOAPElement |
getParentElement()
Returns the parent node of this Node object. |
Node |
getParentNode()
|
String |
getPrefix()
|
String |
getPrefix(String namespaceURI)
|
Node |
getPreviousSibling()
|
javax.xml.namespace.QName |
getQName()
|
SOAPElementAxisImpl |
getRealElement()
|
SAX2EventRecorder |
getRecorder()
|
String |
getTagName()
|
javax.xml.namespace.QName |
getType()
|
Object |
getValueAsType(javax.xml.namespace.QName type)
|
Object |
getValueAsType(javax.xml.namespace.QName type,
Class cls)
|
Iterator |
getVisibleNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings visible to this element. |
boolean |
hasAttribute(String name)
|
boolean |
hasAttributeNS(String namespaceURI,
String localName)
|
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
Node |
insertBefore(Node newChild,
Node refChild)
|
boolean |
isDirty()
|
boolean |
isImmutable()
|
boolean |
isRoot()
|
boolean |
isSupported(String feature,
String version)
|
protected AttributesImpl |
makeAttributesEditable()
|
void |
normalize()
|
void |
output(SerializationContext context)
This is the public output() method, which will always simply use the recorded SAX stream for this element if it is available. |
protected void |
outputImpl(SerializationContext context)
Subclasses can override |
static void |
printFromInternal(PrintWriter out,
NodeImpl node)
Print the given element from the internal representation This should not go on the wire, but is for debugging only. |
void |
publishContents(ContentHandler handler)
|
void |
publishToHandler(ContentHandler handler)
|
boolean |
removeAttribute(javax.xml.soap.Name name)
Removes the attribute with the specified name. |
void |
removeAttribute(String name)
|
Attr |
removeAttributeNode(Attr oldAttr)
|
void |
removeAttributeNS(String namespaceURI,
String localName)
|
Node |
removeChild(Node oldChild)
|
void |
removeContents()
Detaches all children of this SOAPElement. |
boolean |
removeNamespaceDeclaration(String prefix)
Removes the namespace declaration corresponding to the given prefix. |
Node |
replaceChild(Node newChild,
Node oldChild)
|
void |
setAllAttributes(Attributes attrs)
|
void |
setAllImmutable(boolean immutable)
|
void |
setAttribute(String name,
String value)
|
void |
setAttribute(String namespace,
String localName,
String value)
Set an attribute, adding the attribute if it isn't already present in this element, and changing the value if it is. |
Attr |
setAttributeNode(Attr newAttr)
|
Attr |
setAttributeNodeNS(Attr newAttr)
|
void |
setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
|
void |
setContentsIndex(int index)
|
void |
setDirty(boolean dirty)
|
void |
setEncodingStyle(String encodingStyle)
Sets the encoding style for this SOAPElement
object to one specified. |
void |
setEndIndex(int endIndex)
|
void |
setEnvelope(SOAPEnvelopeAxisImpl env)
|
void |
setFixupDeserializer(Deserializer dser)
|
void |
setImmutable(boolean immutable)
|
void |
setName(String name)
|
void |
setNamespaceURI(String nsURI)
|
void |
setNSMappings(ArrayList namespaces)
|
void |
setObjectValue(Object newValue)
Sets value of this node to an Object. |
void |
setOwnerDocument(MessagePart sp)
|
void |
setParentElement(javax.xml.soap.SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement object. |
void |
setPrefix(String prefix)
|
void |
setQName(javax.xml.namespace.QName qName)
|
void |
setRecorder(SAX2EventRecorder rec)
|
void |
setType(javax.xml.namespace.QName qname)
|
Methods inherited from class org.apache.axis.message.NodeImpl |
getNodeName, getValue, hashCode, recycleNode, setNodeValue, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.soap.Node |
getValue, recycleNode, setValue |
Methods inherited from interface org.w3c.dom.Node |
getNodeName, setNodeValue |
Field Detail |
protected String name
protected String prefix
protected String namespaceURI
protected transient Attributes attributes
protected String id
protected String href
protected boolean _isRoot
protected SOAPEnvelopeAxisImpl message
protected transient DeserializationContext context
protected transient javax.xml.namespace.QName typeQName
protected Vector qNameAttrs
protected transient SAX2EventRecorder recorder
protected int startEventIndex
protected int startContentsIndex
protected int endEventIndex
protected Element elementRep
public ArrayList namespaces
protected String encodingStyle
protected MessagePart soapPart
Constructor Detail |
public SOAPElementAxisImpl()
public SOAPElementAxisImpl(String localPart)
public SOAPElementAxisImpl(String namespace, String localPart)
public SOAPElementAxisImpl(String localPart, String prefix, String namespace)
public SOAPElementAxisImpl(javax.xml.soap.Name eltName)
public SOAPElementAxisImpl(String namespace, String localPart, Object value)
public SOAPElementAxisImpl(javax.xml.namespace.QName name, Object value)
public SOAPElementAxisImpl(Element elem)
public SOAPElementAxisImpl(String namespace, String localPart, String prefix, Attributes attributes, DeserializationContext context) throws AxisFault
Method Detail |
public void setFixupDeserializer(Deserializer dser)
public Deserializer getFixupDeserializer()
public void setEndIndex(int endIndex)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isRoot()
public String getID()
public String getHref()
public Attributes getAttributesEx()
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class NodeImpl
public Node getLastChild()
getLastChild
in interface Node
getLastChild
in class NodeImpl
public Node getNextSibling()
getNextSibling
in interface Node
getNextSibling
in class NodeImpl
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class NodeImpl
public Node getPreviousSibling()
getPreviousSibling
in interface Node
getPreviousSibling
in class NodeImpl
public Node cloneNode(boolean deep)
protected Object clonning() throws CloneNotSupportedException
CloneNotSupportedException
public void setAllAttributes(Attributes attrs)
public void detachAllChildren()
public NodeList getChildNodes()
getChildNodes
in interface Node
getChildNodes
in class NodeImpl
public boolean isSupported(String feature, String version)
isSupported
in interface Node
isSupported
in class NodeImpl
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class NodeImpl
DOMException
public void addChild(SOAPElementAxisImpl el) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
removeChild
in class NodeImpl
DOMException
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
insertBefore
in class NodeImpl
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
replaceChild
in class NodeImpl
DOMException
public Attributes getCompleteAttributes()
public String getName()
public void setName(String name)
public javax.xml.namespace.QName getQName()
public void setQName(javax.xml.namespace.QName qName)
public String getPrefix()
public void setPrefix(String prefix)
public Document getOwnerDocument()
getOwnerDocument
in interface Node
getOwnerDocument
in class NodeImpl
public NamedNodeMap getAttributes()
getAttributes
in interface Node
getAttributes
in class NodeImpl
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class NodeImpl
public void normalize()
public boolean hasAttributes()
hasAttributes
in interface Node
hasAttributes
in class NodeImpl
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class NodeImpl
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class NodeImpl
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class NodeImpl
public String getNodeValue() throws DOMException
getNodeValue
in interface Node
getNodeValue
in class NodeImpl
DOMException
public void setNamespaceURI(String nsURI)
public javax.xml.namespace.QName getType()
public void setType(javax.xml.namespace.QName qname)
public SAX2EventRecorder getRecorder()
public void setRecorder(SAX2EventRecorder rec)
public String getEncodingStyle()
getEncodingStyle
in interface javax.xml.soap.SOAPElement
getEncodingStyle
in class SOAPElementImpl
public void removeContents()
SOAPElementImpl
removeContents
in interface javax.xml.soap.SOAPElement
removeContents
in class SOAPElementImpl
public Iterator getVisibleNamespacePrefixes()
SOAPElementImpl
getVisibleNamespacePrefixes
in interface javax.xml.soap.SOAPElement
getVisibleNamespacePrefixes
in class SOAPElementImpl
public void setEncodingStyle(String encodingStyle) throws javax.xml.soap.SOAPException
SOAPElement
object to one specified. The semantics of a null value,
as above in getEncodingStyle() are to just use the parent's value,
but null here means set to "".
setEncodingStyle
in interface javax.xml.soap.SOAPElement
setEncodingStyle
in class SOAPElementImpl
encodingStyle
- a String
giving the encoding style
IllegalArgumentException
- if
there was a problem in the encoding style being set.
javax.xml.soap.SOAPException
- if there was a problem in the encoding style being set.getEncodingStyle()
public void setContentsIndex(int index)
public void setNSMappings(ArrayList namespaces)
public String getPrefix(String namespaceURI)
public String getNamespaceURI(String prefix)
SOAPElementImpl
getNamespaceURI
in interface javax.xml.soap.SOAPElement
getNamespaceURI
in class SOAPElementImpl
prefix
- a String giving the prefix of the namespace for which to search
public Object getObjectValue()
public Object getObjectValue(Class cls) throws Exception
cls
- Class that contains top level deserializer metadata
Exception
public void setObjectValue(Object newValue) throws javax.xml.soap.SOAPException
newValue
- node's value or null.
javax.xml.soap.SOAPException
public Object getValueAsType(javax.xml.namespace.QName type) throws Exception
Exception
public Object getValueAsType(javax.xml.namespace.QName type, Class cls) throws Exception
Exception
public void addAttribute(String namespace, String localName, javax.xml.namespace.QName value)
protected AttributesImpl makeAttributesEditable()
public void addAttribute(String namespace, String localName, String value)
public void addAttribute(String prefix, String namespace, String localName, String value)
public void setAttribute(String namespace, String localName, String value)
public String getAttributeValue(String localName)
public void setEnvelope(SOAPEnvelopeAxisImpl env)
public SOAPEnvelopeAxisImpl getEnvelope()
public SOAPElementAxisImpl getRealElement()
public Element getAsDOM()
public Document getAsDocument()
public String getAsString()
public String getAsStringFromInternal()
public static void printFromInternal(PrintWriter out, NodeImpl node) throws Exception
Exception
public void publishToHandler(ContentHandler handler) throws SAXException
SAXException
public void publishContents(ContentHandler handler) throws SAXException
SAXException
public final void output(SerializationContext context) throws Exception
context
- the SerializationContext we will write to.
Exception
protected void outputImpl(SerializationContext context) throws Exception
Exception
public void addMapping(Mapping map)
public void setParentElement(javax.xml.soap.SOAPElement parent) throws javax.xml.soap.SOAPException
NodeImpl
setParentElement
in interface javax.xml.soap.Node
setParentElement
in class NodeImpl
parent
- the SOAPElement object to be set as the parent of this Node object
javax.xml.soap.SOAPException
- if there is a problem in setting the parent to the given nodepublic javax.xml.soap.SOAPElement getParentElement()
NodeImpl
getParentElement
in interface javax.xml.soap.Node
getParentElement
in class NodeImpl
public void detachNode()
detachNode
in interface javax.xml.soap.Node
detachNode
in class NodeImpl
public boolean isImmutable()
public void setImmutable(boolean immutable)
public void setAllImmutable(boolean immutable)
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement
in interface javax.xml.soap.SOAPElement
addChildElement
in class SOAPElementImpl
name
- a Name object with the XML name for the new element
javax.xml.soap.SOAPException
- if there is an error in creating the SOAPElement objectpublic javax.xml.soap.SOAPElement addChildElement(String localName) throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement
in interface javax.xml.soap.SOAPElement
addChildElement
in class SOAPElementImpl
localName
- a String giving the local name for the element
javax.xml.soap.SOAPException
- if there is an error in creating the SOAPElement objectpublic javax.xml.soap.SOAPElement addChildElement(String localName, String prefix) throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement
in interface javax.xml.soap.SOAPElement
addChildElement
in class SOAPElementImpl
localName
- a String giving the local name for the new elementprefix
- a String giving the namespace prefix for the new element
javax.xml.soap.SOAPException
- if there is an error in creating the SOAPElement objectpublic javax.xml.soap.SOAPElement addChildElement(String localName, String prefix, String uri) throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement
in interface javax.xml.soap.SOAPElement
addChildElement
in class SOAPElementImpl
localName
- a String giving the local name for the new elementprefix
- a String giving the namespace prefix for the new elementuri
- a String giving the URI of the namespace to which the new element belongs
javax.xml.soap.SOAPException
- if there is an error in creating the SOAPElement objectpublic javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement element) throws javax.xml.soap.SOAPException
addChildElement
in interface javax.xml.soap.SOAPElement
addChildElement
in class SOAPElementImpl
element
- the SOAPElement to be added as a new child
javax.xml.soap.SOAPException
- if there was an error in adding this element as a childpublic javax.xml.soap.SOAPElement addTextNode(String value) throws javax.xml.soap.SOAPException
addTextNode
in interface javax.xml.soap.SOAPElement
addTextNode
in class SOAPElementImpl
value
- a String object with the textual content to be added
javax.xml.soap.SOAPException
- if there is an error in creating the new Text objectpublic javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name, String value) throws javax.xml.soap.SOAPException
SOAPElementImpl
addAttribute
in interface javax.xml.soap.SOAPElement
addAttribute
in class SOAPElementImpl
name
- a Name object with the name of the attributevalue
- a String giving the value of the attribute
javax.xml.soap.SOAPException
- if there is an error in creating the Attributepublic javax.xml.soap.SOAPElement addNamespaceDeclaration(String prefix, String uri) throws javax.xml.soap.SOAPException
SOAPElementImpl
addNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
addNamespaceDeclaration
in class SOAPElementImpl
prefix
- a String giving the prefix of the namespaceuri
- a String giving the uri of the namespace
javax.xml.soap.SOAPException
- if there is an error in creating the namespacepublic String getAttributeValue(javax.xml.soap.Name name)
SOAPElementImpl
getAttributeValue
in interface javax.xml.soap.SOAPElement
getAttributeValue
in class SOAPElementImpl
name
- a Name object with the name of the attribute
public Iterator getAllAttributes()
SOAPElementImpl
getAllAttributes
in interface javax.xml.soap.SOAPElement
getAllAttributes
in class SOAPElementImpl
public Iterator getNamespacePrefixes()
SOAPElementImpl
getNamespacePrefixes
in interface javax.xml.soap.SOAPElement
getNamespacePrefixes
in class SOAPElementImpl
public javax.xml.soap.Name getElementName()
SOAPElementImpl
getElementName
in interface javax.xml.soap.SOAPElement
getElementName
in class SOAPElementImpl
public boolean removeAttribute(javax.xml.soap.Name name)
SOAPElementImpl
removeAttribute
in interface javax.xml.soap.SOAPElement
removeAttribute
in class SOAPElementImpl
name
- the Name object with the name of the attribute to be removed
public boolean removeNamespaceDeclaration(String prefix)
SOAPElementImpl
removeNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
removeNamespaceDeclaration
in class SOAPElementImpl
prefix
- a String giving the prefix for which to search
public Iterator getChildElements()
SOAPElementImpl
getChildElements
in interface javax.xml.soap.SOAPElement
getChildElements
in class SOAPElementImpl
public Iterator getChildElements(javax.xml.soap.Name name)
SOAPElementImpl
getChildElements
in interface javax.xml.soap.SOAPElement
getChildElements
in class SOAPElementImpl
name
- a Name object with the name of the child elements to be returned
public String getTagName()
getTagName
in interface Element
getTagName
in class SOAPElementImpl
public void removeAttribute(String name) throws DOMException
removeAttribute
in interface Element
removeAttribute
in class SOAPElementImpl
DOMException
public boolean hasAttribute(String name)
hasAttribute
in interface Element
hasAttribute
in class SOAPElementImpl
public String getAttribute(String name)
getAttribute
in interface Element
getAttribute
in class SOAPElementImpl
public void removeAttributeNS(String namespaceURI, String localName) throws DOMException
removeAttributeNS
in interface Element
removeAttributeNS
in class SOAPElementImpl
DOMException
public void setAttribute(String name, String value) throws DOMException
setAttribute
in interface Element
setAttribute
in class SOAPElementImpl
DOMException
public boolean hasAttributeNS(String namespaceURI, String localName)
hasAttributeNS
in interface Element
hasAttributeNS
in class SOAPElementImpl
public Attr getAttributeNode(String name)
getAttributeNode
in interface Element
getAttributeNode
in class SOAPElementImpl
public Attr removeAttributeNode(Attr oldAttr) throws DOMException
removeAttributeNode
in interface Element
removeAttributeNode
in class SOAPElementImpl
DOMException
public Attr setAttributeNode(Attr newAttr) throws DOMException
setAttributeNode
in interface Element
setAttributeNode
in class SOAPElementImpl
DOMException
public Attr setAttributeNodeNS(Attr newAttr) throws DOMException
setAttributeNodeNS
in interface Element
setAttributeNodeNS
in class SOAPElementImpl
DOMException
public NodeList getElementsByTagName(String name)
getElementsByTagName
in interface Element
getElementsByTagName
in class SOAPElementImpl
public String getAttributeNS(String namespaceURI, String localName)
getAttributeNS
in interface Element
getAttributeNS
in class SOAPElementImpl
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException
setAttributeNS
in interface Element
setAttributeNS
in class SOAPElementImpl
DOMException
public Attr getAttributeNodeNS(String namespaceURI, String localName)
getAttributeNodeNS
in interface Element
getAttributeNodeNS
in class SOAPElementImpl
public NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS
in interface Element
getElementsByTagNameNS
in class SOAPElementImpl
protected NodeList getElementsNS(Element parent, String namespaceURI, String localName)
public void setOwnerDocument(MessagePart sp)
public List getChildren()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |