org.mortbay.xml
public class XmlConfiguration extends Object
Version: $Id: XmlConfiguration.java,v 1.28 2005/08/13 08:12:14 gregwilkins Exp $
| Constructor Summary | |
|---|---|
| XmlConfiguration(URL configuration)
Constructor. | |
| XmlConfiguration(String configuration)
Constructor.
| |
| XmlConfiguration(InputStream configuration)
Constructor.
| |
| Method Summary | |
|---|---|
| void | configure(Object obj)
Configure an object. |
| static void | main(String[] arg) |
| Object | newInstance()
Create a new object and configure it. |
Parameters: configuration
Parameters: configuration String of XML configuration commands excluding the normal XML preamble.
The String should start with a "
Throws: SAXException IOException
Parameters: configuration An input stream containing a complete e.g. configuration file
Throws: SAXException IOException
Parameters: obj The object to be configured.
Throws: ClassNotFoundException NoSuchMethodException InvocationTargetException IllegalAccessException InstantiationException
Returns: The newly created configured object.
Throws: ClassNotFoundException NoSuchMethodException InvocationTargetException InstantiationException IllegalAccessException