Class CommentImpl

    • Constructor Detail

      • CommentImpl

        public CommentImpl​(CoreDocumentImpl ownerDoc,
                           String data)
        Factory constructor.
        Parameters:
        ownerDoc - the owner document
        data - the data
    • Method Detail

      • getNodeType

        public short getNodeType()
        A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface. A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface.
        Specified by:
        getNodeType in interface Node
        Specified by:
        getNodeType in class NodeImpl