public interface

Attr

implements Node
com.google.gwt.xml.client.Attr

Class Overview

Attr objects represent key-value pairs of attributes on Element objects. Attr objects are immutable.

Summary

[Expand]
Inherited Constants
From interface com.google.gwt.xml.client.Node
Public Methods
abstract String getName()
This method retrieves the name.
abstract boolean getSpecified()
This method determines whether the value of this Attr was specified here, or as a default value in a DTD.
abstract String getValue()
This method retrieves the value.
[Expand]
Inherited Methods
From interface com.google.gwt.xml.client.Node

Public Methods

public abstract String getName ()

This method retrieves the name.

Returns
  • the name of this Attr

public abstract 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.

public abstract String getValue ()

This method retrieves the value.

Returns
  • the value of this Attr