JavaTM 2 Platform
Standard Ed. 5.0

javax.print.attribute
Class TextSyntax

java.lang.Object
  extended by javax.print.attribute.TextSyntax
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
DocumentName, JobMessageFromOperator, JobName, JobOriginatingUserName, OutputDeviceAssigned, PrinterInfo, PrinterLocation, PrinterMakeAndModel, PrinterMessageFromOperator, PrinterName, RequestingUserName

public abstract class TextSyntax
extends Object
implements Serializable, Cloneable

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.

See Also:
Serialized Form

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