|
||||||||||
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.elements.AbstractElementFactory
public class AbstractElementFactory
A base class for implementing the ElementFactory
interface.
Constructor Summary | |
---|---|
AbstractElementFactory()
Creates a new element factory. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares this object with the given object for equality. |
Element |
getElementForType(String type)
Returns an element for the specified type. |
int |
hashCode()
Computes an hashcode for this factory. |
void |
registerElement(Element e)
Registers an element. |
void |
registerElement(String type,
Element e)
Registers an element. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractElementFactory()
Method Detail |
---|
public void registerElement(Element e)
e
- the element.public void registerElement(String type, Element e)
type
- the element type.e
- the element.public Element getElementForType(String type)
getElementForType
in interface ElementFactory
type
- the type.
public boolean equals(Object o)
equals
in class Object
o
- the object that should be compared.
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 |