Class BaseAttribute


  • @JsType(isNative=true,
            name="Attr",
            namespace="<global>")
    public final class BaseAttribute
    extends BaseNode
    Represents one of a DOM element's attributes as an object.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • BaseAttribute

        public BaseAttribute()
    • Method Detail

      • getName

        @JsProperty
        public String getName()
        Returns the attribute's name.
        Returns:
        the attribute's name
      • getValue

        @JsProperty
        public String getValue()
        Returns the attribute's value.
        Returns:
        the attribute's value