com.jrefinery.report.io.ext.factory.stylekey
Interface StyleKeyFactory

All Known Implementing Classes:
AbstractStyleKeyFactory, StyleKeyFactoryCollector

public interface StyleKeyFactory

A style key factory.

Author:
Thomas Morgner

Method Summary
 java.lang.Object createBasicObject(StyleKey k, java.lang.String value, java.lang.Class c, org.jfree.xml.factory.objects.ClassFactory cf)
          Creates an object.
 java.util.Iterator getRegisteredKeys()
          Returns an iterator that provides access to the registered keys.
 StyleKey getStyleKey(java.lang.String name)
          Returns a style key.
 

Method Detail

getStyleKey

public StyleKey getStyleKey(java.lang.String name)
Returns a style key.

Parameters:
name - the name.
Returns:
The style key.

createBasicObject

public java.lang.Object createBasicObject(StyleKey k,
                                          java.lang.String value,
                                          java.lang.Class c,
                                          org.jfree.xml.factory.objects.ClassFactory cf)
Creates an object.

Parameters:
k - the style key.
value - the value.
c - the class.
cf - the class factory used to create the basic object.
Returns:
The object.

getRegisteredKeys

public java.util.Iterator getRegisteredKeys()
Returns an iterator that provides access to the registered keys.

Returns:
The iterator.