Class Comment

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node, Item, Textual

    public class Comment
    extends AbstractTextual
    implements org.w3c.dom.Comment
    The iDOM Comment.
    Author:
    tomyeh
    See Also:
    Serialized Form
    • Constructor Detail

      • Comment

        public Comment​(java.lang.String text)
        Constructor.
      • Comment

        public Comment()
        Constructor.
    • Method Detail

      • checkText

        protected void checkText​(java.lang.String text)
        Description copied from class: AbstractTextual
        Checks whether the text is valid. It is usually overridden by the deriving classes to check more specifically.
        Overrides:
        checkText in class AbstractTextual
      • getName

        public final java.lang.String getName()
        Description copied from interface: Item
        Gets the name of the item. For vertices that support namespace (implements Namespaceable), it is the same as getTagName.
        Specified by:
        getName in interface Item
        See Also:
        Namespaceable.getTagName()
      • getNodeType

        public final short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node