1 /* 2 * @(#)DocAttribute.java 1.4 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 9 package javax.print.attribute; 10 11 /** 12 * Interface DocAttribute is a tagging interface which a printing attribute 13 * class implements to indicate the attribute denotes a setting for a doc. 14 * ("Doc" is a short, easy-to-pronounce term that means "a piece of print 15 * data.") The client may include a DocAttribute in a <code>Doc</code>'s 16 * attribute set to specify a characteristic of 17 * that doc. If an attribute implements {@link PrintRequestAttribute 18 * PrintRequestAttribute} as well as DocAttribute, the client may include the 19 * attribute in a attribute set which specifies a print job 20 * to specify a characteristic for all the docs in that job. 21 * <P> 22 * 23 * @see DocAttributeSet 24 * @see PrintRequestAttributeSet 25 * 26 * @author Alan Kaminsky 27 */ 28 public interface DocAttribute extends Attribute { 29 30 } 31