|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.modules.parser.ext.factory.stylekey.AbstractStyleKeyFactory
An abstract class for implementing the StyleKeyFactory interface.
| Field Summary | |
static java.lang.String |
OBJECT_FACTORY_TAG
the parser configuration property name for this factory. |
| Constructor Summary | |
AbstractStyleKeyFactory()
Creates a new factory. |
|
| Method Summary | |
void |
addKey(StyleKey key)
Registers a key. |
java.lang.Object |
createBasicObject(StyleKey k,
java.lang.String value,
java.lang.Class c,
org.jfree.xml.factory.objects.ClassFactory fc)
Creates an object. |
boolean |
equals(java.lang.Object o)
Indicated whether an other object is equal to this one. |
java.util.Iterator |
getRegisteredKeys()
Returns an iterator that provides access to the registered keys. |
StyleKey |
getStyleKey(java.lang.String name)
Returns the key with the given name. |
int |
hashCode()
Computes an hashcode for this factory. |
protected void |
loadFromClass(java.lang.Class c)
Loads all public static stylekeys which are declared in the given class. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String OBJECT_FACTORY_TAG
| Constructor Detail |
public AbstractStyleKeyFactory()
| Method Detail |
public void addKey(StyleKey key)
key - the key.public StyleKey getStyleKey(java.lang.String name)
name - the name.
public java.lang.Object createBasicObject(StyleKey k,
java.lang.String value,
java.lang.Class c,
org.jfree.xml.factory.objects.ClassFactory fc)
k - the style key.value - the value.c - the class.fc - the class factory used to create the basic object.protected void loadFromClass(java.lang.Class c)
c - the class from where to load the stylekeys.public java.util.Iterator getRegisteredKeys()
public boolean equals(java.lang.Object o)
o - the other object.Object.equals(java.lang.Object)public int hashCode()
Object.hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||