Class AbstractAttrNS

All Implemented Interfaces:
Serializable, NodeEventTarget, ExtendedNode, NodeXBL, XBLManagerData, Attr, EventTarget, Node
Direct Known Subclasses:
GenericAttrNS

public abstract class AbstractAttrNS extends AbstractAttr
This class implements the Attr interface with support for namespaces.
See Also:
  • Field Details

    • namespaceURI

      protected String namespaceURI
      The namespace URI
  • Constructor Details

    • AbstractAttrNS

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

      protected AbstractAttrNS(String nsURI, String qname, AbstractDocument owner) throws 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:
      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 Details