|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.xml.dom.StandardElementFactoryRegistry
StandardElementFactoryRegistry implements a registry for
ElementFactory instances. Each ElementFactory is associated
with a node within an XML Document Object Model by:
| Field Summary | |
protected Map |
efMap
A Map of ElementFactory instances hashed by (namespace + element) |
| Constructor Summary | |
StandardElementFactoryRegistry()
Create a new StandardElementFactoryRegistry. |
|
| Method Summary | |
void |
add(ElementFactory ef)
Add an ElementFactory. |
ElementFactory |
get(String nameSpace,
String tagName)
Get an ElementFactory. |
ElementFactory[] |
getAll()
Get all ElementFactories. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Map efMap
| Constructor Detail |
public StandardElementFactoryRegistry()
| Method Detail |
public void add(ElementFactory ef)
add in interface ElementFactoryRegistryef - the ElementFactory.
public ElementFactory get(String nameSpace,
String tagName)
get in interface ElementFactoryRegistrynameSpace - the NameSpace (e.g. http://cafesoft.com/goober)tagName - the Element tag name.
public ElementFactory[] getAll()
getAll in interface ElementFactoryRegistry
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||