Class GenericAttr

    • Field Detail

      • readonly

        protected boolean readonly
        Is this attribute immutable?
    • Constructor Detail

      • GenericAttr

        protected GenericAttr()
        Creates a new Attr object.
      • GenericAttr

        public GenericAttr​(java.lang.String name,
                           AbstractDocument owner)
                    throws org.w3c.dom.DOMException
        Creates a new Attr object.
        Parameters:
        name - The attribute name for validation purposes.
        owner - The owner document.
        Throws:
        org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: if name contains invalid characters,
    • 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