org.dom4j.dom

Class DOMProcessingInstruction

public class DOMProcessingInstruction extends DefaultProcessingInstruction implements ProcessingInstruction

DOMProcessingInstruction implements a ProcessingInstruction node which supports the W3C DOM API.

Version: $Revision: 1.12 $

Author: James Strachan

Constructor Summary
DOMProcessingInstruction(String target, Map values)
DOMProcessingInstruction(String target, String values)
DOMProcessingInstruction(Element parent, String target, String val)
Method Summary
NodeappendChild(Node newChild)
NodecloneNode(boolean deep)
NamedNodeMapgetAttributes()
NodeListgetChildNodes()
StringgetData()
NodegetFirstChild()
NodegetLastChild()
StringgetLocalName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
StringgetNodeValue()
DocumentgetOwnerDocument()
NodegetParentNode()
StringgetPrefix()
NodegetPreviousSibling()
booleanhasAttributes()
booleanhasChildNodes()
NodeinsertBefore(Node newChild, Node refChild)
booleanisSupported(String feature, String version)
voidnormalize()
NoderemoveChild(Node oldChild)
NodereplaceChild(Node newChild, Node oldChild)
voidsetData(String data)
voidsetNodeValue(String nodeValue)
voidsetPrefix(String prefix)
booleansupports(String feature, String version)

Constructor Detail

DOMProcessingInstruction

public DOMProcessingInstruction(String target, Map values)

DOMProcessingInstruction

public DOMProcessingInstruction(String target, String values)

DOMProcessingInstruction

public DOMProcessingInstruction(Element parent, String target, String val)

Method Detail

appendChild

public Node appendChild(Node newChild)

cloneNode

public Node cloneNode(boolean deep)

getAttributes

public NamedNodeMap getAttributes()

getChildNodes

public NodeList getChildNodes()

getData

public String getData()

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

getPrefix

public String getPrefix()

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)

setData

public void setData(String data)

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