|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.io.ext.factory.elements.AbstractElementFactory
A base class for implementing the ElementFactory
interface.
Constructor Summary | |
AbstractElementFactory()
Creates a new element factory. |
Method Summary | |
Element |
getElementForType(java.lang.String type)
Returns an element for the specified type. |
void |
registerElement(Element e)
Registers an element. |
void |
registerElement(java.lang.String type,
Element e)
Registers an element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractElementFactory()
Method Detail |
public void registerElement(Element e)
e
- the element.public void registerElement(java.lang.String type, Element e)
type
- the element type.e
- the element.public Element getElementForType(java.lang.String type)
getElementForType
in interface ElementFactory
type
- the type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |