Class AbstractAttrNS

  • All Implemented Interfaces:
    java.io.Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, org.w3c.dom.Attr, org.w3c.dom.events.EventTarget, org.w3c.dom.Node
    Direct Known Subclasses:
    GenericAttrNS

    public abstract class AbstractAttrNS
    extends AbstractAttr
    This class implements the Attr interface with support for namespaces.
    Version:
    $Id: AbstractAttrNS.java 1802297 2017-07-18 13:58:12Z ssteiner $
    See Also:
    Serialized Form
    • Field Detail

      • namespaceURI

        protected java.lang.String namespaceURI
        The namespace URI
    • Constructor Detail

      • AbstractAttrNS

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

        protected AbstractAttrNS​(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

      • getNamespaceURI

        public java.lang.String getNamespaceURI()
        DOM: Implements Node.getNamespaceURI().
        Specified by:
        getNamespaceURI in interface org.w3c.dom.Node
        Overrides:
        getNamespaceURI in class AbstractNode
        Returns:
        namespaceURI.
      • export

        protected org.w3c.dom.Node export​(org.w3c.dom.Node n,
                                          AbstractDocument d)
        Exports this node to the given document.
        Overrides:
        export in class AbstractAttr
      • deepExport

        protected org.w3c.dom.Node deepExport​(org.w3c.dom.Node n,
                                              AbstractDocument d)
        Deeply exports this node to the given document.
        Overrides:
        deepExport in class AbstractAttr
      • copyInto

        protected org.w3c.dom.Node copyInto​(org.w3c.dom.Node n)
        Copy the fields of the current node into the given node.
        Overrides:
        copyInto in class AbstractAttr
        Parameters:
        n - a node of the type of this.
      • deepCopyInto

        protected org.w3c.dom.Node deepCopyInto​(org.w3c.dom.Node n)
        Deeply copy the fields of the current node into the given node.
        Overrides:
        deepCopyInto in class AbstractAttr
        Parameters:
        n - a node of the type of this.