Lines Matching refs:flavor
152 public boolean isDocFlavorSupported(DocFlavor flavor) {
155 if (flavor.equals(flavors[f])) {
252 DocFlavor flavor,
263 if (flavor != null && !isDocFlavorSupported(flavor)) {
264 throw new IllegalArgumentException(flavor +
265 " is an unsupported flavor");
282 if (flavor == null ||
283 flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
284 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE)) {
341 if (flavor == null ||
342 flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
343 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE)) {
351 if (flavor == null ||
352 flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
353 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE)) {
364 if (flavor == null ||
365 flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
366 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE)) {
395 DocFlavor flavor,
400 if (flavor != null && !isDocFlavorSupported(flavor)) {
401 throw new IllegalArgumentException(flavor +
402 " is an unsupported flavor");
418 (flavor != null) &&
419 !(flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
420 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE))) {
424 if (flavor != null &&
425 !(flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
426 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE))) {
430 if (flavor != null &&
431 !(flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
432 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE))) {
436 if (flavor != null &&
437 !(flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) ||
438 flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE))) {
445 public AttributeSet getUnsupportedAttributes(DocFlavor flavor,
448 if (flavor != null && !isDocFlavorSupported(flavor)) {
449 throw new IllegalArgumentException("flavor " + flavor +
465 } else if (!isAttributeValueSupported(attr, flavor,