org.apache.batik.dom

Class GenericComment

public class GenericComment extends AbstractComment

This class implements the {@link org.w3c.dom.Comment} interface.
Field Summary
protected booleanreadonly
Is this element immutable?
Constructor Summary
GenericComment()
Creates a new Comment object.
GenericComment(String value, AbstractDocument owner)
Creates a new Comment object.
Method Summary
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

GenericComment

public GenericComment()
Creates a new Comment object.

GenericComment

public GenericComment(String value, AbstractDocument owner)
Creates a new Comment object.

Method Detail

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.