|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.io.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. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, 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)
getStyleKey
in interface StyleKeyFactory
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)
createBasicObject
in interface StyleKeyFactory
k
- the style key.value
- the value.c
- the class.fc
- the class factory used to create the basic object.
public java.util.Iterator getRegisteredKeys()
getRegisteredKeys
in interface StyleKeyFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |