|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.stylekey.AbstractStyleKeyFactory
public abstract class AbstractStyleKeyFactory
An abstract class for implementing the StyleKeyFactory
interface.
Field Summary | |
---|---|
static String |
OBJECT_FACTORY_TAG
the parser configuration property name for this factory. |
Method Summary | |
---|---|
void |
addKey(StyleKey key)
Registers a key. |
Object |
createBasicObject(StyleKey k,
String value,
Class c,
ClassFactory fc)
Creates an object. |
boolean |
equals(Object o)
Indicated whether an other object is equal to this one. |
Iterator |
getRegisteredKeys()
Returns an iterator that provides access to the registered keys. |
StyleKey |
getStyleKey(String name)
Returns the key with the given name. |
int |
hashCode()
Computes an hashcode for this factory. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OBJECT_FACTORY_TAG
Method Detail |
---|
public void addKey(StyleKey key)
key
- the key.public StyleKey getStyleKey(String name)
getStyleKey
in interface StyleKeyFactory
name
- the name.
public Object createBasicObject(StyleKey k, String value, Class c, 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 Iterator getRegisteredKeys()
getRegisteredKeys
in interface StyleKeyFactory
public boolean equals(Object o)
equals
in class Object
o
- the other object.
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |