Package com.google.gwt.aria.client
Class PrimitiveValueAttribute<T>
java.lang.Object
com.google.gwt.aria.client.Attribute<T>
com.google.gwt.aria.client.PrimitiveValueAttribute<T>
Primitive type attribute. The primitive types are: boolean, string, int, number.
-
Field Summary
Fields inherited from class com.google.gwt.aria.client.Attribute
defaultValue, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getSingleValue
(T value) Gets the string representation ofvalue
to be set as an attribute value to an HTML element.
-
Constructor Details
-
PrimitiveValueAttribute
-
PrimitiveValueAttribute
-
-
Method Details
-
getSingleValue
Description copied from class:Attribute
Gets the string representation ofvalue
to be set as an attribute value to an HTML element.- Specified by:
getSingleValue
in classAttribute<T>
- Parameters:
value
- The item to be stringified- Returns:
- the stringified representation of
value
-