|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.elements.ElementFactoryCollector
public class ElementFactoryCollector
An element factory that encapsulates multiple element factories.
Constructor Summary | |
---|---|
ElementFactoryCollector()
Creates a new element factory. |
Method Summary | |
---|---|
void |
addFactory(ElementFactory factory)
Adds an element factory. |
boolean |
equals(Object o)
Indicated whether an other object is equal to this one. |
Element |
getElementForType(String type)
Returns an element for the given type. |
Iterator |
getFactories()
Returns an iterator that provides access to the factories. |
int |
hashCode()
Computes an hashcode for this factory. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementFactoryCollector()
Method Detail |
---|
public void addFactory(ElementFactory factory)
factory
- the factory.public Iterator getFactories()
public Element getElementForType(String type)
getElementForType
in interface ElementFactory
type
- the content type.
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 |