/[classpath]/classpath/javax/print/attribute/Attribute.java
ViewVC logotype

Diff of /classpath/javax/print/attribute/Attribute.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by gnu_andrew, Tue Aug 2 20:12:36 2005 UTC revision 1.2.2.2 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 1  Line 1 
1  /* Attribute.java --  /* Attribute.java --
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 40  package javax.print.attribute; Line 40  package javax.print.attribute;
40  import java.io.Serializable;  import java.io.Serializable;
41    
42  /**  /**
43   * @author Michael Koch   * Base interface of every printing attribute of the Java Print Service API.
44     *
45     * @author Michael Koch (konqueror@gmx.de)
46   */   */
47  public interface Attribute extends Serializable  public interface Attribute extends Serializable
48  {  {
49      /**
50       * Returns the category of the printing attribute which is the specific
51       * attribute class implementing this interface.
52       *
53       * @return The concrete {@link Class} instance of the attribute class.
54       */
55    Class getCategory ();    Class getCategory ();
56    
57      /**
58       * Returns the descriptive name of the attribute category.
59       *
60       * Implementations of the <code>Attribute</code> interfaces providing equal
61       * category values have to return equal name values.
62       *
63       * @return The name of the attribute category.
64       */
65    String getName ();    String getName ();
66  }  }

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26