Class GenericComment

  • All Implemented Interfaces:
    java.io.Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.events.EventTarget, org.w3c.dom.Node

    public class GenericComment
    extends AbstractComment
    This class implements the Comment interface.
    Version:
    $Id: GenericComment.java 1733416 2016-03-03 07:07:13Z gadams $
    See Also:
    Serialized Form
    • Field Detail

      • readonly

        protected boolean readonly
        Is this element immutable?
    • Constructor Detail

      • GenericComment

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

        public GenericComment​(java.lang.String value,
                              AbstractDocument owner)
        Creates a new Comment object.
    • Method Detail

      • isReadonly

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

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

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