Searched refs:category (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/imageio/spi/
H A DRegisterableService.java41 * the given <code>category</code> of the given
43 * under another category or categories.
47 * @param category a <code>Class</code> object indicating the
48 * registry category under which this object has been registered.
50 void onRegistration(ServiceRegistry registry, Class<?> category); argument
54 * from the given <code>category</code> of the given
56 * under another category or categories.
60 * @param category a <code>Class</code> object indicating the
61 * registry category from which this object is being deregistered.
63 void onDeregistration(ServiceRegistry registry, Class<?> category); argument
[all...]
H A DServiceRegistry.java59 * registered, it will be stored in the category defined by the
120 Class category = (Class)categories.next();
121 SubRegistry reg = new SubRegistry(this, category);
122 categoryMap.put(category, reg);
238 * is associated with the given category.
244 * it is deregistered from a category, for example if a
245 * category is removed or the registry is garbage collected.
248 * @param category the category under which to register the
252 * registered in the same category categor
261 registerServiceProvider(T provider, Class<T> category) argument
363 deregisterServiceProvider(T provider, Class<T> category) argument
445 getServiceProviders(Class<T> category, boolean useOrdering) argument
500 getServiceProviders(Class<T> category, Filter filter, boolean useOrdering) argument
573 setOrdering(Class<T> category, T firstProvider, T secondProvider) argument
618 unsetOrdering(Class<T> category, T firstProvider, T secondProvider) argument
647 deregisterAll(Class<?> category) argument
691 Class category; field in class:SubRegistry
699 SubRegistry(ServiceRegistry registry, Class category) argument
[all...]
H A DIIOServiceProvider.java111 Class<?> category) {}
124 Class<?> category) {}
110 onRegistration(ServiceRegistry registry, Class<?> category) argument
123 onDeregistration(ServiceRegistry registry, Class<?> category) argument
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/classes/
H A DCategoryClassFile.java33 private final Category category; field in class:CategoryClassFile
35 public CategoryClassFile(final Category category) { argument
36 super(category.category);
37 this.category = category;
41 String targetCls = category.category.superClass.getFullPath();
H A DCategoryClassClassFile.java38 final Category category; field in class:CategoryClassClassFile
40 public CategoryClassClassFile(final Category category) { argument
41 super(category.category, category.category.name + "Class",
42 category.category.superClass.getFullPath() + "Class");
43 this.category = category;
[all...]
/openjdk7/langtools/test/tools/javac/generics/rawOverride/
H A DWarn1.java38 <T> Attribute<T> get(Class<T> category); argument
42 public Attribute get(Class category) { return null; } argument
H A DAttributeSet.java37 <T> Attribute<?> get(Class<T> category); argument
41 public Attribute get(Class category) { return null; } argument
45 Attribute<?> get(Class<?> category); argument
49 public Attribute get(Class category) { return null; } argument
53 Attribute<?> get(Number category); argument
57 public Attribute get(Number category) { return null; } argument
61 Attribute<?> get(Attribute<Number> category); argument
65 public Attribute get(Attribute category) { return null; } argument
/openjdk7/jdk/src/share/classes/javax/print/attribute/
H A DAttributeSet.java36 * a member of some <I>category,</I> and at most one value in any particular
37 * category is allowed in the set. For an attribute set, the values are {@link
39 * Class} objects. An attribute's category is the class (or interface) at the
41 * attribute object's category may be a superclass of the attribute object's
44 * category is determined by calling the {@link Attribute#getCategory()
115 * given attribute category. Returns <tt>null</tt> if this attribute set
116 * does not contain any attribute value in the given attribute category.
118 * @param category Attribute category whose associated attribute value
124 * @return The attribute value in the given attribute category containe
136 get(Class<?> category) argument
174 remove(Class<?> category) argument
203 containsKey(Class<?> category) argument
[all...]
H A DAttributeSetUtilities.java98 public synchronized boolean remove(Class<?> category) { argument
106 public boolean containsKey(Class<?> category) { argument
107 return attrset.containsKey(category);
301 public synchronized Attribute get(Class<?> category) { argument
302 return attrset.get(category);
309 public synchronized boolean remove(Class<?> category) { argument
310 return attrset.remove(category);
317 public synchronized boolean containsKey(Class<?> category) { argument
318 return attrset.containsKey(category);
557 * Verify that the given attribute category objec
572 verifyCategoryForValue(Class<?> category, Attribute attribute) argument
[all...]
H A DHashAttributeSet.java255 * given attribute category. Returns <tt>null</tt> if this attribute set
256 * does not contain any attribute value in the given attribute category.
258 * @param category Attribute category whose associated attribute value
264 * @return The attribute value in the given attribute category contained
267 * category.
270 * (unchecked exception) Thrown if the <CODE>category</CODE> is null.
272 * (unchecked exception) Thrown if the <CODE>category</CODE> is not a
276 public Attribute get(Class<?> category) { argument
279 verifyAttributeCategory(category,
324 remove(Class<?> category) argument
363 containsKey(Class<?> category) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPrintJobAttributeException.java36 private Class category; field in class:PrintJobAttributeException
41 category = cat;
45 if (category == null) {
48 Class [] cats = { category};
H A DPSStreamPrintService.java131 T getAttribute(Class<T> category) argument
133 if (category == null) {
134 throw new NullPointerException("category");
136 if (!(PrintServiceAttribute.class.isAssignableFrom(category))) {
139 if (category == ColorSupported.class) {
170 isAttributeCategorySupported(Class<? extends Attribute> category) argument
172 if (category == null) {
173 throw new NullPointerException("null category");
175 if (!(Attribute.class.isAssignableFrom(category))) {
176 throw new IllegalArgumentException(category
190 getDefaultAttributeValue(Class<? extends Attribute> category) argument
251 getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/print/
H A DPrintService.java122 * @param category the category of a PrintServiceAttribute supported
126 * @exception NullPointerException if the category is null.
128 * (unchecked exception) if <CODE>category</CODE> is not a
133 T getAttribute(Class<T> category); argument
174 * A printing attribute category is
199 * attribute category when setting up a job for this print service. A
200 * printing attribute category is designated by a <code>Class</code>
202 * Attribute}. This method tells whether the attribute <I>category</I> is
212 * This is a convenience method to determine if the category
234 isAttributeCategorySupported(Class<? extends Attribute> category) argument
278 getDefaultAttributeValue(Class<? extends Attribute> category) argument
354 getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) argument
[all...]
H A DServiceUI.java319 Class category = usAttrs[i].getCategory();
321 if (ps.isAttributeCategorySupported(category)) {
323 (Attribute)ps.getDefaultAttributeValue(category);
328 aset.remove(category);
331 aset.remove(category);
/openjdk7/jdk/test/javax/print/applet/applet1/
H A DApplet1PrintService.java56 public PrintServiceAttribute getAttribute(Class category) { argument
76 public boolean isAttributeCategorySupported(Class category) { argument
80 public Object getDefaultAttributeValue(Class category) { argument
84 public Object getSupportedAttributeValues(Class category, argument
/openjdk7/jdk/test/javax/print/applet/applet2/
H A DApplet2PrintService.java56 public PrintServiceAttribute getAttribute(Class category) { argument
76 public boolean isAttributeCategorySupported(Class category) { argument
80 public Object getDefaultAttributeValue(Class category) { argument
84 public Object getSupportedAttributeValues(Class category, argument
/openjdk7/jdk/test/javax/print/applet/applet3/
H A DApplet3PrintService.java56 public PrintServiceAttribute getAttribute(Class category) { argument
76 public boolean isAttributeCategorySupported(Class category) { argument
80 public Object getDefaultAttributeValue(Class category) { argument
84 public Object getSupportedAttributeValues(Class category, argument
/openjdk7/jdk/test/javax/print/applet/applet4/
H A DApplet4PrintService.java56 public PrintServiceAttribute getAttribute(Class category) { argument
76 public boolean isAttributeCategorySupported(Class category) { argument
80 public Object getDefaultAttributeValue(Class category) { argument
84 public Object getSupportedAttributeValues(Class category, argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/
H A DIdentityConstraintImpl.java47 private final short category; field in class:IdentityConstraintImpl
54 ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
58 this.category = category;
95 return category;
107 if(category==KEYREF)
53 IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, short category, String name, XPathImpl selector, List<XPathImpl> fields, Ref.IdentityConstraint refer) argument
/openjdk7/jdk/test/javax/print/attribute/
H A DServiceDialogTest.java158 public PrintServiceAttribute getAttribute(Class category) argument
195 public boolean isAttributeCategorySupported(Class category) argument
197 if (category == null) {
198 throw new NullPointerException("null category");
202 if (category == otherAttrCats[i]) {
219 public Object getDefaultAttributeValue(Class category) argument
221 if (category == null) {
222 throw new NullPointerException("null category");
224 if (category == javax.print.attribute.standard.Copies.class)
227 if (category
233 getSupportedAttributeValues(Class category, DocFlavor docflavor, AttributeSet attributeset) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintService.java459 T getAttribute(Class<T> category) argument
461 if (category == null) {
462 throw new NullPointerException("category");
464 if (!(PrintServiceAttribute.class.isAssignableFrom(category))) {
468 if (category == PrinterName.class) {
470 } else if (category == PrinterState.class) {
472 } else if (category == PrinterStateReasons.class) {
474 } else if (category == QueuedJobCount.class) {
476 } else if (category == PrinterIsAcceptingJobs.class) {
550 isAttributeCategorySupported(Class<? extends Attribute> category) argument
572 getDefaultAttributeValue(Class<? extends Attribute> category) argument
663 getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) argument
[all...]
H A DIPPPrintService.java464 getSupportedAttributeValues(Class<? extends Attribute> category, argument
468 if (category == null) {
469 throw new NullPointerException("null category");
471 if (!Attribute.class.isAssignableFrom(category)) {
472 throw new IllegalArgumentException(category +
485 if (!isAttributeCategorySupported(category)) {
496 /* Test if the flavor is compatible with the category */
497 if ((category == Copies.class) ||
498 (category == CopiesSupported.class)) {
514 } else if (category
1047 isAttributeCategorySupported(Class<? extends Attribute> category) argument
1080 getAttribute(Class<T> category) argument
1353 getDefaultAttributeValue(Class<? extends Attribute> category) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DCategory.java34 public final Clazz category; field in class:Category
37 this.category = new Clazz(fromClass.name + "Category", fromClass.classMethods, fromClass.instanceMethods, target, fromClass.parent);
/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintService.java898 getAttribute(Class<T> category) argument
900 if (category == null) {
901 throw new NullPointerException("category");
903 if (!(PrintServiceAttribute.class.isAssignableFrom(category))) {
906 if (category == ColorSupported.class) {
913 } else if (category == PrinterName.class) {
915 } else if (category == PrinterState.class) {
917 } else if (category == PrinterStateReasons.class) {
919 } else if (category == QueuedJobCount.class) {
921 } else if (category
1019 isAttributeCategorySupported(Class<? extends Attribute> category) argument
1042 getDefaultAttributeValue(Class<? extends Attribute> category) argument
1216 isPSDocAttr(Class category) argument
1237 getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) argument
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest6921644.java170 private Category category; field in class:Test6921644.Document
190 return this.category;
193 public void setCategory(Category category) { argument
194 this.category = category;

Completed in 108 milliseconds

12