|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.base.apps.util.factory.BaseFactory
org.base.apps.util.factory.ConfigurableFactory
org.base.apps.xml.elem.ElementFactory
public class ElementFactory
| Field Summary | |
|---|---|
static String |
ELEMENT_CONFIGURATION
The name of this factory's configuration. |
| Constructor Summary | |
|---|---|
protected |
ElementFactory()
Void constructor. |
protected |
ElementFactory(Named cfg)
Constructor with configuration override. |
| Method Summary | |
|---|---|
Element |
createElement()
Creates an Element with an ElementContext from this factory. |
static ElementFactory |
getInstance()
Fetches the singleton factory instance. |
String |
getName()
Fetches the name of this instance. |
static ElementFactory |
newInstance(Named configuration)
Creates a new ElementFactory with the given named configuration. |
| Methods inherited from class org.base.apps.util.factory.ConfigurableFactory |
|---|
create, rMgr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_CONFIGURATION
| Constructor Detail |
|---|
protected ElementFactory()
protected ElementFactory(Named cfg)
cfg - The factory configuration.| Method Detail |
|---|
public Element createElement()
throws Exception
Element with an ElementContext from this factory.
Element with a custom ElementContext.
Exception - if an error occurs during creation.public String getName()
Named
Named.getName()public static ElementFactory getInstance()
public static ElementFactory newInstance(Named configuration)
ElementFactory with the given named configuration.
configuration - The named configuration.
ElementFactory.
|
Please visit Base Apps, hosted on Sourceforge.net. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||