Class GenericText

    • Field Detail

      • readonly

        protected boolean readonly
        Is this element immutable?
    • Constructor Detail

      • GenericText

        protected GenericText()
        Creates a new uninitialized Text object.
      • GenericText

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

      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Returns:
        getNodeName().
      • getNodeType

        public short getNodeType()
        DOM: Implements Node.getNodeType().
        Returns:
        Node.TEXT_NODE
      • isReadonly

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

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

        protected org.w3c.dom.Text createTextNode​(java.lang.String text)
        Creates a text node of the current type.
        Specified by:
        createTextNode in class AbstractText
      • newNode

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