org.apache.batik.dom

Class AbstractProcessingInstruction

public abstract class AbstractProcessingInstruction extends AbstractChildNode implements ProcessingInstruction

This class implements the {@link 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 {@link org.w3c.dom.ProcessingInstruction#getData()}.
StringgetNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.
shortgetNodeType()
DOM: Implements {@link org.w3c.dom.Node#getNodeType()}.
StringgetNodeValue()
DOM: Implements {@link org.w3c.dom.Node#getNodeValue()}.
StringgetTextContent()
DOM: Implements {@link org.w3c.dom.Node#getTextContent()}.
voidsetData(String data)
DOM: Implements {@link org.w3c.dom.ProcessingInstruction#setData(String)}.
voidsetNodeValue(String nodeValue)
DOM: Implements {@link 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 {@link org.w3c.dom.ProcessingInstruction#getData()}.

Returns: {@link #data}.

getNodeName

public String getNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.

Returns: {@link #getTarget()}.

getNodeType

public short getNodeType()
DOM: Implements {@link org.w3c.dom.Node#getNodeType()}.

Returns: {@link org.w3c.dom.Node#PROCESSING_INSTRUCTION_NODE}

getNodeValue

public String getNodeValue()
DOM: Implements {@link org.w3c.dom.Node#getNodeValue()}.

Returns: {@link #getData()}.

getTextContent

public String getTextContent()
DOM: Implements {@link org.w3c.dom.Node#getTextContent()}.

setData

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

setNodeValue

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