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 |
|
|
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 |
} |
} |