org.dom4j.dom

Class DOMNamespace

public class DOMNamespace extends DefaultNamespace implements Node

DOMNamespace implements a Namespace that is compatable with the DOM API.

Version: $Revision: 1.10 $

Author: James Strachan

Constructor Summary
DOMNamespace(String prefix, String uri)
DOMNamespace(Element parent, String prefix, String uri)
Method Summary
NodeappendChild(Node newChild)
NodecloneNode(boolean deep)
NamedNodeMapgetAttributes()
NodeListgetChildNodes()
NodegetFirstChild()
NodegetLastChild()
StringgetLocalName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
StringgetNodeValue()
DocumentgetOwnerDocument()
NodegetParentNode()
NodegetPreviousSibling()
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

DOMNamespace

public DOMNamespace(String prefix, String uri)

DOMNamespace

public DOMNamespace(Element parent, String prefix, String uri)

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()

getParentNode

public Node getParentNode()

getPreviousSibling

public Node getPreviousSibling()

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