org.dom4j.dom

Class DOMAttribute

public class DOMAttribute extends DefaultAttribute implements Attr

DOMAttribute implements a doubly linked attribute which supports the W3C DOM API.

Version: $Revision: 1.14 $

Author: James Strachan

Constructor Summary
DOMAttribute(QName qname)
DOMAttribute(QName qname, String value)
DOMAttribute(Element parent, QName qname, String value)
Method Summary
NodeappendChild(Node newChild)
NodecloneNode(boolean deep)
NamedNodeMapgetAttributes()
NodeListgetChildNodes()
NodegetFirstChild()
NodegetLastChild()
StringgetLocalName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
StringgetNodeValue()
DocumentgetOwnerDocument()
ElementgetOwnerElement()
NodegetParentNode()
StringgetPrefix()
NodegetPreviousSibling()
booleangetSpecified()
booleanhasAttributes()
booleanhasChildNodes()
NodeinsertBefore(Node newChild, Node refChild)
booleanisSupported(String feature, String version)
voidnormalize()
NoderemoveChild(Node oldChild)
NodereplaceChild(Node newChild, Node oldChild)
voidsetNodeValue(String nodeValue)
voidsetPrefix(String prefix)
booleansupports(String feature, String version)

Constructor Detail

DOMAttribute

public DOMAttribute(QName qname)

DOMAttribute

public DOMAttribute(QName qname, String value)

DOMAttribute

public DOMAttribute(Element parent, QName qname, String value)

Method Detail

appendChild

public Node appendChild(Node newChild)

cloneNode

public Node cloneNode(boolean deep)

getAttributes

public NamedNodeMap getAttributes()

getChildNodes

public NodeList getChildNodes()

getFirstChild

public Node getFirstChild()

getLastChild

public Node getLastChild()

getLocalName

public String getLocalName()

getNamespaceURI

public String getNamespaceURI()

getNextSibling

public Node getNextSibling()

getNodeName

public String getNodeName()

getNodeValue

public String getNodeValue()

getOwnerDocument

public Document getOwnerDocument()

getOwnerElement

public Element getOwnerElement()

getParentNode

public Node getParentNode()

getPrefix

public String getPrefix()

getPreviousSibling

public Node getPreviousSibling()

getSpecified

public boolean getSpecified()

hasAttributes

public boolean hasAttributes()

hasChildNodes

public boolean hasChildNodes()

insertBefore

public Node insertBefore(Node newChild, Node refChild)

isSupported

public boolean isSupported(String feature, String version)

normalize

public void normalize()

removeChild

public Node removeChild(Node oldChild)

replaceChild

public Node replaceChild(Node newChild, Node oldChild)

setNodeValue

public void setNodeValue(String nodeValue)

setPrefix

public void setPrefix(String prefix)

supports

public boolean supports(String feature, String version)
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge