|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.config.ChoiceFactory
public final class ChoiceFactory
Factory for the well known Choices.
for license details.
The copyright to this program is held by it's authors.| Field Summary | |
|---|---|
private static Map<String,Object> |
datamap
Storage of various registered objects |
private static Map<String,Class<Choice>> |
map
Store of the known ChoiceTypes |
| Constructor Summary | |
|---|---|
private |
ChoiceFactory()
Prevent instantiation |
| Method Summary | |
|---|---|
static Choice |
getChoice(org.jdom2.Element option,
ResourceBundle configResources)
Get a ChoiceFactory by element. |
static Map<String,Object> |
getDataMap()
Method getDataMap. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Map<String,Object> datamap
private static Map<String,Class<Choice>> map
| Constructor Detail |
|---|
private ChoiceFactory()
| Method Detail |
|---|
public static Choice getChoice(org.jdom2.Element option,
ResourceBundle configResources)
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
StartupException
option - The element to check
ClassNotFoundException
IllegalAccessException
InstantiationException
StartupExceptionpublic static Map<String,Object> getDataMap()
|
Copyright ? 2003-2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||