org.dom4j.dom

Class DOMDocumentType

public class DOMDocumentType extends DefaultDocumentType implements DocumentType

DOMDocumentType implements a DocumentType node which supports the W3C DOM API.

Version: $Revision: 1.11 $

Author: James Strachan

Constructor Summary
DOMDocumentType()
DOMDocumentType(String elementName, String systemID)
DOMDocumentType(String name, String publicID, String systemID)
Method Summary
NodeappendChild(Node newChild)
NodecloneNode(boolean deep)
NamedNodeMapgetAttributes()
NodeListgetChildNodes()
NamedNodeMapgetEntities()
NodegetFirstChild()
StringgetInternalSubset()
NodegetLastChild()
StringgetLocalName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
StringgetNodeValue()
NamedNodeMapgetNotations()
DocumentgetOwnerDocument()
NodegetParentNode()
StringgetPrefix()
NodegetPreviousSibling()
StringgetPublicId()
StringgetSystemId()
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

DOMDocumentType

public DOMDocumentType()

DOMDocumentType

public DOMDocumentType(String elementName, String systemID)

DOMDocumentType

public DOMDocumentType(String name, String publicID, String systemID)

Method Detail

appendChild

public Node appendChild(Node newChild)

cloneNode

public Node cloneNode(boolean deep)

getAttributes

public NamedNodeMap getAttributes()

getChildNodes

public NodeList getChildNodes()

getEntities

public NamedNodeMap getEntities()

getFirstChild

public Node getFirstChild()

getInternalSubset

public String getInternalSubset()

getLastChild

public Node getLastChild()

getLocalName

public String getLocalName()

getNamespaceURI

public String getNamespaceURI()

getNextSibling

public Node getNextSibling()

getNodeName

public String getNodeName()

getNodeValue

public String getNodeValue()

getNotations

public NamedNodeMap getNotations()

getOwnerDocument

public Document getOwnerDocument()

getParentNode

public Node getParentNode()

getPrefix

public String getPrefix()

getPreviousSibling

public Node getPreviousSibling()

getPublicId

public String getPublicId()

getSystemId

public String getSystemId()

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