Interface Attr

  • All Superinterfaces:
    Node

    public interface Attr
    extends Node
    Attr objects represent key-value pairs of attributes on Element objects. Attr objects are immutable.
    • Method Detail

      • getName

        java.lang.String getName()
        This method retrieves the name.
        Returns:
        the name of this Attr
      • getSpecified

        boolean getSpecified()
        This method determines whether the value of this Attr was specified here, or as a default value in a DTD.
        Returns:
        true if the value of this Attr was specified locally.
      • getValue

        java.lang.String getValue()
        This method retrieves the value.
        Returns:
        the value of this Attr