Class GenericAttrNS

    • Field Detail

      • readonly

        protected boolean readonly
        Is this attribute immutable?
    • Constructor Detail

      • GenericAttrNS

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

        public GenericAttrNS​(java.lang.String nsURI,
                             java.lang.String qname,
                             AbstractDocument owner)
                      throws org.w3c.dom.DOMException
        Creates a new Attr object.
        Parameters:
        nsURI - The element namespace URI.
        qname - The attribute qualified name for validation purposes.
        owner - The owner document.
        Throws:
        org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
        NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null or an empty string, if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace", if the qualifiedName has a prefix that is "xmlns" and the namespaceURI is different from "http://www.w3.org/2000/xmlns/", or if the qualifiedName is "xmlns" and the namespaceURI is different from "http://www.w3.org/2000/xmlns/".
    • 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