Lines Matching refs:services

37 /** Implementations of this class provide lookup services for
38 * print services (typically equivalent to printers) of a particular type.
58 * be able to locate any print services. Downloaded applets are the most
62 * the policy to reflect the needs of different lookup services.
77 Services services =
79 if (services == null) {
80 services = new Services();
81 AppContext.getAppContext().put(Services.class, services);
83 return services;
108 * Locates print services capable of printing the specified
117 * representing print services that support the specified flavor
118 * attributes. If no services match, the array is zero-length.
139 * Otherwise return only multidoc print services that can print all
145 * If no services match, the array is zero-length.
160 * If multiple lookup services each specify a default, the
197 * implements lookup services. The registration will not persist
268 * Locates services that can be positively confirmed to support
278 * efficient by taking advantage of the capabilities of lookup services
279 * for the print services.
284 * @return array of matching PrintServices. If no services match, the
306 * Locates MultiDoc print services which can be positively confirmed
313 * @return array of matching PrintServices. If no services match, the
375 PrintService[] services=null;
378 services = lus.getPrintServices();
382 services = lus.getPrintServices(flavor, attributes);
384 if (services == null) {
387 for (int i=0; i<services.length; i++) {
388 listOfServices.add(services[i]);
393 /* add any directly registered services */
404 PrintService[] services = (PrintService[])
407 for (int i=0; i<services.length; i++) {
408 if (!listOfServices.contains(services[i])) {
410 listOfServices.add(services[i]);
412 services[i].isDocFlavorSupported(flavor)) ||
414 null == services[i].getUnsupportedAttributes(
416 listOfServices.add(services[i]);
433 MultiDocPrintService[] services =
435 if (services == null) {
438 for (int i=0; i<services.length; i++) {
439 listOfServices.add(services[i]);
444 /* add any directly registered services */
455 PrintService[] services = (PrintService[])
458 for (int i=0; i<services.length; i++) {
459 if (services[i] instanceof MultiDocPrintService &&
460 !listOfServices.contains(services[i])) {
462 listOfServices.add(services[i]);
466 if (services[i].isDocFlavorSupported(flavors[f])) {
468 if (services[i].getUnsupportedAttributes(
479 listOfServices.add(services[i]);