|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.TextSyntax
public abstract class TextSyntax
Class TextSyntax is an abstract base class providing the common implementation of all attributes whose value is a string. The text attribute includes a locale to indicate the natural language. Thus, a text attribute always represents a localized string. Once constructed, a text attribute's value is immutable.
Constructor Summary | |
---|---|
protected |
TextSyntax(String value,
Locale locale)
Constructs a TextAttribute with the specified string and locale. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Returns whether this text attribute is equivalent to the passed in object. |
Locale |
getLocale()
Returns this text attribute's text string's natural language (locale). |
String |
getValue()
Returns this text attribute's text string. |
int |
|