1 7 package javax.print.attribute.standard; 8 9 import javax.print.attribute.EnumSyntax ; 10 import javax.print.attribute.Attribute ; 11 12 44 public class ReferenceUriSchemesSupported 45 extends EnumSyntax implements Attribute { 46 47 private static final long serialVersionUID = -8989076942813442805L; 48 49 52 public static final ReferenceUriSchemesSupported FTP = 53 new ReferenceUriSchemesSupported (0); 54 55 58 public static final ReferenceUriSchemesSupported HTTP = new ReferenceUriSchemesSupported (1); 59 60 63 public static final ReferenceUriSchemesSupported HTTPS = new ReferenceUriSchemesSupported (2); 64 65 68 public static final ReferenceUriSchemesSupported GOPHER = new ReferenceUriSchemesSupported (3); 69 70 73 public static final ReferenceUriSchemesSupported NEWS = new ReferenceUriSchemesSupported (4); 74 75 78 public static final ReferenceUriSchemesSupported NNTP = new ReferenceUriSchemesSupported (5); 79 80 83 public static final ReferenceUriSchemesSupported WAIS = new ReferenceUriSchemesSupported (6); 84 85 88 public static final ReferenceUriSchemesSupported FILE = new ReferenceUriSchemesSupported (7); 89 90 96 protected ReferenceUriSchemesSupported(int value) { 97 super (value); 98 } 99 100 private static final String [] myStringTable = { 101 "ftp", 102 "http", 103 "https", 104 "gopher", 105 "news", 106 "nntp", 107 "wais", 108 "file", 109 }; 110 111 private static final ReferenceUriSchemesSupported [] myEnumValueTable = { 112 FTP, 113 HTTP, 114 HTTPS, 115 GOPHER, 116 NEWS, 117 NNTP, 118 WAIS, 119 FILE, 120 }; 121 122 125 protected String [] getStringTable() { 126 return (String [])myStringTable.clone(); 127 } 128 129 133 protected EnumSyntax [] getEnumValueTable() { 134 return (EnumSyntax [])myEnumValueTable.clone(); 135 } 136 137 147 public final Class <? extends Attribute > getCategory() { 148 return ReferenceUriSchemesSupported .class; 149 } 150 151 161 public final String getName() { 162 return "reference-uri-schemes-supported"; 163 } 164 165 } 166 | Popular Tags |