API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. EnumSyntax View Source
Author(s)
David Mendenhall
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      EnumSyntax
Implements
 Serializable
 Cloneable
Subclasses
Description
publicabstract abstract class EnumSyntax
  Class EnumSyntax is an abstract base class providing the common implementation of all "type safe enumeration" objects.
See also:   
Constructors
protected EnumSyntax (int value)
  Construct a new enumeration value with the given integer value.
Methods
Hide/Show inherited methods
public Object clone ()
Returns a clone of this enumeration value, which to preserve the semantics of enumeration values is the same object as this enumeration value.
protected EnumSyntax getEnumValueTable ()
  Returns the enumeration value table for this enumeration value's enumeration class.
protected int getOffset ()
  Returns the lowest integer value used by this enumeration value's enumeration class.
protected String getStringTable ()
  Returns the string table for this enumeration value's enumeration class.
public int getValue ()
  Returns this enumeration value's integer value.
public int hashCode ()
  Returns a hash code value for this enumeration value.
protected Object readResolve () throws ObjectStreamException
  During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.
public String toString ()
Returns a string value corresponding to this enumeration value.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar