src/share/classes/javax/print/attribute/standard/PDLOverrideSupported.java

Print this page




  71      * @param  value  Integer value.
  72      */
  73     protected PDLOverrideSupported(int value) {
  74         super (value);
  75     }
  76 
  77     private static final String[] myStringTable = {
  78         "not-attempted",
  79         "attempted"
  80     };
  81 
  82     private static final PDLOverrideSupported[] myEnumValueTable = {
  83         NOT_ATTEMPTED,
  84         ATTEMPTED
  85     };
  86 
  87     /**
  88      * Returns the string table for class PDLOverrideSupported.
  89      */
  90     protected String[] getStringTable() {
  91         return (String[])myStringTable.clone();
  92     }
  93 
  94     /**
  95      * Returns the enumeration value table for class PDLOverrideSupported.
  96      */
  97     protected EnumSyntax[] getEnumValueTable() {
  98         return (EnumSyntax[])myEnumValueTable.clone();
  99     }
 100 
 101     /**
 102      * Get the printing attribute class which is to be used as the "category"
 103      * for this printing attribute value.
 104      * <P>
 105      * For class PDLOverrideSupported and any vendor-defined subclasses, the
 106      * category is class PDLOverrideSupported itself.
 107      *
 108      * @return  Printing attribute class (category), an instance of class
 109      *          {@link java.lang.Class java.lang.Class}.
 110      */
 111     public final Class<? extends Attribute> getCategory() {


  71      * @param  value  Integer value.
  72      */
  73     protected PDLOverrideSupported(int value) {
  74         super (value);
  75     }
  76 
  77     private static final String[] myStringTable = {
  78         "not-attempted",
  79         "attempted"
  80     };
  81 
  82     private static final PDLOverrideSupported[] myEnumValueTable = {
  83         NOT_ATTEMPTED,
  84         ATTEMPTED
  85     };
  86 
  87     /**
  88      * Returns the string table for class PDLOverrideSupported.
  89      */
  90     protected String[] getStringTable() {
  91         return myStringTable.clone();
  92     }
  93 
  94     /**
  95      * Returns the enumeration value table for class PDLOverrideSupported.
  96      */
  97     protected EnumSyntax[] getEnumValueTable() {
  98         return (EnumSyntax[])myEnumValueTable.clone();
  99     }
 100 
 101     /**
 102      * Get the printing attribute class which is to be used as the "category"
 103      * for this printing attribute value.
 104      * <P>
 105      * For class PDLOverrideSupported and any vendor-defined subclasses, the
 106      * category is class PDLOverrideSupported itself.
 107      *
 108      * @return  Printing attribute class (category), an instance of class
 109      *          {@link java.lang.Class java.lang.Class}.
 110      */
 111     public final Class<? extends Attribute> getCategory() {