org.apache.batik.dom

Class GenericProcessingInstruction

public class GenericProcessingInstruction extends AbstractProcessingInstruction

This class implements the {@link org.w3c.dom.ProcessingInstruction} interface.
Field Summary
protected booleanreadonly
Is this node immutable?
protected Stringtarget
The target.
Constructor Summary
protected GenericProcessingInstruction()
Creates a new ProcessingInstruction object.
GenericProcessingInstruction(String target, String data, AbstractDocument owner)
Creates a new ProcessingInstruction object.
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.
StringgetTarget()
DOM: Implements {@link org.w3c.dom.ProcessingInstruction#getTarget()}.
booleanisReadonly()
Tests whether this node is readonly.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetNodeName(String v)
Sets the node name.
voidsetReadonly(boolean v)
Sets this node readonly attribute.
voidsetTarget(String v)
Sets the target value.

Field Detail

readonly

protected boolean readonly
Is this node immutable?

target

protected String target
The target.

Constructor Detail

GenericProcessingInstruction

protected GenericProcessingInstruction()
Creates a new ProcessingInstruction object.

GenericProcessingInstruction

public GenericProcessingInstruction(String target, String data, AbstractDocument owner)
Creates a new ProcessingInstruction object.

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.

getTarget

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

Returns: {@link #target}.

isReadonly

public boolean isReadonly()
Tests whether this node is readonly.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.

setNodeName

public void setNodeName(String v)
Sets the node name.

setReadonly

public void setReadonly(boolean v)
Sets this node readonly attribute.

setTarget

public void setTarget(String v)
Sets the target value.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.