Class DomAttr

All Implemented Interfaces:
Serializable, Cloneable, Attr, Node

public class DomAttr extends DomNamespaceNode implements Attr
An attribute of an element. Attributes are stored in HtmlElement, but the XPath engine expects attributes to be in a DomNode.
See Also:
  • Constructor Details

    • DomAttr

      public DomAttr(SgmlPage page, String namespaceURI, String qualifiedName, String value, boolean specified)
      Instantiate a new attribute.
      Parameters:
      page - the page that the attribute belongs to
      namespaceURI - the namespace that defines the attribute name (may be null)
      qualifiedName - the name of the attribute
      value - the value of the attribute
      specified - true if this attribute was explicitly given a value in the source document, or if the application changed the value of the attribute
  • Method Details