API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. DocumentName View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      TextSyntax
          DocumentName
Implements
 DocAttribute
Subclasses
Description
publicfinal class DocumentName
  Class DocumentName is a printing attribute class, a text attribute, that specifies the name of a document.
See also:   
Constructors
public DocumentName (String documentName, Locale locale)
  Constructs a new document name attribute with the given document name and locale.
Methods
Hide/Show inherited methods
public boolean equals (Object object) [Overrides TextSyntax]
  Returns whether this document name attribute is equivalent to the passed in object.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
public Locale getLocale () [Inherited From TextSyntax]
  Returns this text attribute's text string's natural language (locale).
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
public String getValue () [Inherited From TextSyntax]
  Returns this text attribute's text string.
public int hashCode () [Inherited From TextSyntax]
  Returns a hashcode for this text attribute.
public String toString () [Inherited From TextSyntax]
  Returns a String identifying this text attribute.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar