T
- public class ConfigLoader<T>
extends java.lang.Object
Constructor and Description |
---|
ConfigLoader() |
Modifier and Type | Method and Description |
---|---|
void |
addFactory(java.lang.String elemName,
ConfigFactory<T> factory) |
T |
loadFromConfig(java.io.InputStream in,
ConfigEnvironment configEnvironment) |
T |
loadFromConfigResource(java.lang.String resource,
ConfigEnvironment configEnvironment) |
T |
loadFromConfigUri(android.net.Uri configUri,
ConfigEnvironment configEnvironment) |
T |
loadFromElem(org.w3c.dom.Node elemNode,
ConfigEnvironment configEnvironment) |
public void addFactory(java.lang.String elemName, ConfigFactory<T> factory)
public T loadFromConfigUri(android.net.Uri configUri, ConfigEnvironment configEnvironment) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public T loadFromConfigResource(java.lang.String resource, ConfigEnvironment configEnvironment) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public T loadFromConfig(java.io.InputStream in, ConfigEnvironment configEnvironment) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public T loadFromElem(org.w3c.dom.Node elemNode, ConfigEnvironment configEnvironment)