appendChild
public Node appendChild(Node newChild)
throws DOMException
newChild
- New node to append to the list of this node's
children
cloneNode
public Node cloneNode(boolean deep)
deep
- Flag indicating whether to clone deep
(clone member variables)
- Returns a duplicate of this node
compareDocumentPosition
public short compareDocumentPosition(Node other)
throws DOMException
getAttributes
public NamedNodeMap getAttributes()
getBaseURI
public String getBaseURI()
getChildNodes
public NodeList getChildNodes()
- a NodeList containing no nodes.
getFeature
public Object getFeature(String feature,
String version)
getFirstChild
public Node getFirstChild()
getLastChild
public Node getLastChild()
getLocalName
public String getLocalName()
- the local part of the qualified name of this node
getName
public String getName()
- The name of this attribute
getNamespaceURI
public String getNamespaceURI()
- The namespace URI of this node, or null if it is
unspecified
getNextSibling
public Node getNextSibling()
getNodeName
public String getNodeName()
- The name of the attribute
getNodeType
public short getNodeType()
getNodeValue
public String getNodeValue()
throws DOMException
- The value of the attribute
getOwnerDocument
public Document getOwnerDocument()
getOwnerElement
public Element getOwnerElement()
- The Element node this attribute is attached to
or null if this attribute is not in use
getParentNode
public Node getParentNode()
- the containing element node
getPrefix
public String getPrefix()
- The namespace prefix of this node, or null if it is
unspecified
getPreviousSibling
public Node getPreviousSibling()
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
getSpecified
public boolean getSpecified()
getTextContent
public String getTextContent()
throws DOMException
getUserData
public Object getUserData(String key)
getValue
public String getValue()
- The value of this attribute returned as string
hasAttributes
public boolean hasAttributes()
hasChildNodes
public boolean hasChildNodes()
insertBefore
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
newChild
- New child node to insertrefChild
- Insert in front of this child
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
isEqualNode
public boolean isEqualNode(Node arg)
isId
public boolean isId()
isSameNode
public boolean isSameNode(Node other)
isSupported
public boolean isSupported(String feature,
String version)
lookupNamespaceURI
public String lookupNamespaceURI(String specifiedPrefix)
lookupPrefix
public String lookupPrefix(String namespaceURI)
normalize
public void normalize()
removeChild
public Node removeChild(Node oldChild)
throws DOMException
oldChild
- Child to be removed
replaceChild
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
newChild
- Replace existing child with this oneoldChild
- Existing child to be replaced
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
nodeValue
- Value to set this node to
setPrefix
public void setPrefix(String prefix)
throws DOMException
prefix
- Prefix to set for this node
setTextContent
public void setTextContent(String textContent)
throws DOMException
setUserData
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setValue
public void setValue(String value)
throws DOMException
value
- Value to set this node to