org.apache.batik.dom

Class AbstractEntity

public abstract class AbstractEntity extends AbstractParentNode implements Entity

This class implements the org.w3c.dom.Entity interface.
Field Summary
protected StringnodeName
The node name.
protected StringpublicId
The public id.
protected StringsystemId
The system id.
Method Summary
protected voidcheckChildType(Node n, boolean replace)
Checks the validity of a node to be inserted.
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.
StringgetInputEncoding()
DOM: Implements org.w3c.dom.Entity#getInputEncoding().
StringgetNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().
shortgetNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().
StringgetNotationName()
DOM: Implements org.w3c.dom.Entity#getNotationName().
StringgetPublicId()
DOM: Implements org.w3c.dom.Entity#getPublicId().
StringgetSystemId()
DOM: Implements org.w3c.dom.Entity#getSystemId().
StringgetXmlEncoding()
DOM: Implements org.w3c.dom.Entity#getXmlEncoding().
StringgetXmlVersion()
DOM: Implements org.w3c.dom.Entity#getXmlVersion().
voidsetNodeName(String v)
Sets the name of this node.
voidsetNotationName(String name)
Sets the notation name.
voidsetPublicId(String id)
Sets the public id.
voidsetSystemId(String id)
Sets the system id.

Field Detail

nodeName

protected String nodeName
The node name.

publicId

protected String publicId
The public id.

systemId

protected String systemId
The system id.

Method Detail

checkChildType

protected void checkChildType(Node n, boolean replace)
Checks the validity of a node to be inserted.

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.

getInputEncoding

public String getInputEncoding()
DOM: Implements org.w3c.dom.Entity#getInputEncoding().

getNodeName

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

Returns: nodeName.

getNodeType

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

Returns: org.w3c.dom.Node#ENTITY_NODE

getNotationName

public String getNotationName()
DOM: Implements org.w3c.dom.Entity#getNotationName().

Returns: getNodeName.

getPublicId

public String getPublicId()
DOM: Implements org.w3c.dom.Entity#getPublicId().

Returns: publicId.

getSystemId

public String getSystemId()
DOM: Implements org.w3c.dom.Entity#getSystemId().

Returns: systemId.

getXmlEncoding

public String getXmlEncoding()
DOM: Implements org.w3c.dom.Entity#getXmlEncoding().

getXmlVersion

public String getXmlVersion()
DOM: Implements org.w3c.dom.Entity#getXmlVersion().

setNodeName

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

setNotationName

public void setNotationName(String name)
Sets the notation name.

setPublicId

public void setPublicId(String id)
Sets the public id.

setSystemId

public void setSystemId(String id)
Sets the system id.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.