Class GenericComment

All Implemented Interfaces:
NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, Serializable, CharacterData, Comment, EventTarget, Node

public class GenericComment extends AbstractComment
This class implements the Comment interface.
See Also:
  • Field Details

    • readonly

      protected boolean readonly
      Is this element immutable?
  • Constructor Details

    • GenericComment

      public GenericComment()
      Creates a new Comment object.
    • GenericComment

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

    • isReadonly

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

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

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode