org.apache.batik.dom

Class GenericCDATASection

public class GenericCDATASection extends AbstractText implements CDATASection

This class implements the {@link org.w3c.dom.CDATASection} interface.
Field Summary
protected booleanreadonly
Is this element immutable?
Constructor Summary
protected GenericCDATASection()
Creates a new CDATASection object.
GenericCDATASection(String value, AbstractDocument owner)
Creates a new CDATASection object.
Method Summary
protected TextcreateTextNode(String text)
Creates a text node of the current type.
StringgetNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.
shortgetNodeType()
DOM: Implements {@link org.w3c.dom.Node#getNodeType()}.
booleanisReadonly()
Tests whether this node is readonly.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetReadonly(boolean v)
Sets this node readonly attribute.

Field Detail

readonly

protected boolean readonly
Is this element immutable?

Constructor Detail

GenericCDATASection

protected GenericCDATASection()
Creates a new CDATASection object.

GenericCDATASection

public GenericCDATASection(String value, AbstractDocument owner)
Creates a new CDATASection object.

Method Detail

createTextNode

protected Text createTextNode(String text)
Creates a text node of the current type.

getNodeName

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

Returns: "#cdata-section".

getNodeType

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

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

isReadonly

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

newNode

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

setReadonly

public void setReadonly(boolean v)
Sets this node readonly attribute.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.