public class XmlConfiguration extends Object
Constructor and Description |
---|
XmlConfiguration(InputStream configuration)
Constructor.
|
XmlConfiguration(String configuration)
Constructor.
|
XmlConfiguration(URL configuration)
Constructor.
|
public XmlConfiguration(URL configuration) throws SAXException, IOException
configuration
- SAXException
IOException
public XmlConfiguration(String configuration) throws SAXException, IOException
configuration
- String of XML configuration commands excluding the normal XML preamble.
The String should start with a " SAXException
IOException
public XmlConfiguration(InputStream configuration) throws SAXException, IOException
configuration
- An input stream containing a complete e.g. configuration fileSAXException
IOException
public void configure(Object obj) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException
obj
- The object to be configured.ClassNotFoundException
NoSuchMethodException
InvocationTargetException
IllegalAccessException
InstantiationException
public Object newInstance() throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException
ClassNotFoundException
NoSuchMethodException
InvocationTargetException
InstantiationException
IllegalAccessException
public static void main(String[] arg)
Copyright © 2013. All Rights Reserved.