org.apache.batik.dom

Class AbstractProcessingInstruction

public abstract class AbstractProcessingInstruction extends AbstractChildNode implements ProcessingInstruction

This class implements the org.w3c.dom.ProcessingInstruction interface.
Field Summary
protected Stringdata
The data.
Method Summary
protected NodecopyInto(Node n)
Copy the fields of the current node into the given node.
protected NodedeepCopyInto(Node n)
Deeply copy the fields of the current node into the given node.
protected NodedeepExport(Node n, AbstractDocument d)
Deeply exports this node to the given document.
protected Nodeexport(Node n, AbstractDocument d)
Exports this node to the given document.
StringgetData()
DOM: Implements org.w3c.dom.ProcessingInstruction#getData().
StringgetNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().
shortgetNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().
StringgetNodeValue()
DOM: Implements org.w3c.dom.Node#getNodeValue().
StringgetTextContent()
DOM: Implements org.w3c.dom.Node#getTextContent().
voidsetData(String data)
DOM: Implements org.w3c.dom.ProcessingInstruction#setData(String).
voidsetNodeValue(String nodeValue)
DOM: Implements org.w3c.dom.Node#setNodeValue(String).

Field Detail

data

protected String data
The data.

Method Detail

copyInto

protected Node copyInto(Node n)
Copy the fields of the current node into the given node.

Parameters: n a node of the type of this.

deepCopyInto

protected Node deepCopyInto(Node n)
Deeply copy the fields of the current node into the given node.

Parameters: n a node of the type of this.

deepExport

protected Node deepExport(Node n, AbstractDocument d)
Deeply exports this node to the given document.

export

protected Node export(Node n, AbstractDocument d)
Exports this node to the given document.

getData

public String getData()
DOM: Implements org.w3c.dom.ProcessingInstruction#getData().

Returns: data.

getNodeName

public String getNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().

Returns: AbstractProcessingInstruction.

getNodeType

public short getNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().

Returns: org.w3c.dom.Node#PROCESSING_INSTRUCTION_NODE

getNodeValue

public String getNodeValue()
DOM: Implements org.w3c.dom.Node#getNodeValue().

Returns: getData.

getTextContent

public String getTextContent()
DOM: Implements org.w3c.dom.Node#getTextContent().

setData

public void setData(String data)
DOM: Implements org.w3c.dom.ProcessingInstruction#setData(String).

setNodeValue

public void setNodeValue(String nodeValue)
DOM: Implements org.w3c.dom.Node#setNodeValue(String).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.