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 - SAXExceptionIOExceptionpublic XmlConfiguration(String configuration) throws SAXException, IOException
configuration - String of XML configuration commands excluding the normal XML preamble.
The String should start with a " SAXExceptionIOExceptionpublic XmlConfiguration(InputStream configuration) throws SAXException, IOException
configuration - An input stream containing a complete e.g. configuration fileSAXExceptionIOExceptionpublic void configure(Object obj) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException
obj - The object to be configured.ClassNotFoundExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalAccessExceptionInstantiationExceptionpublic Object newInstance() throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException
ClassNotFoundExceptionNoSuchMethodExceptionInvocationTargetExceptionInstantiationExceptionIllegalAccessExceptionpublic static void main(String[] arg)
Copyright © 2013. All Rights Reserved.