org.sourceforge.jxutil.xml
Class XMLConfig
java.lang.Object
|
+--org.sourceforge.jxutil.xml.XMLConfig
- Direct Known Subclasses:
- DBTestConfig, JDBCConfig, MenuConfig, XMLJavaConfig
- public abstract class XMLConfig
- extends Object
XMLConfig is a framework for instantiating Java objects from an XML
description.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected final Document doc
handlerMap
private final TreeMap handlerMap
idCache
protected final TreeMap idCache
XMLConfig
protected XMLConfig(DocumentBuilder builder,
File file,
TreeMap handlerMap)
throws ParserConfigurationException,
SAXException,
IOException
XMLConfig
protected XMLConfig(Document doc,
TreeMap handlerMap)
XMLConfig
protected XMLConfig(File file,
TreeMap handlerMap)
throws ParserConfigurationException,
SAXException,
IOException
XMLConfig
protected XMLConfig(URL url,
TreeMap handlerMap)
throws ParserConfigurationException,
SAXException,
IOException
getById
public Object getById(String elementId)
throws Exception
Exception
getDocument
public Document getDocument()
makeObject
public Object makeObject(Element el)
throws Exception
Exception
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.