public class MapActionFactory
extends java.lang.Object
Constructor and Description |
---|
MapActionFactory() |
Modifier and Type | Method and Description |
---|---|
static MapAction |
createFromElem(org.w3c.dom.Node elemNode,
ConfigEnvironment config)
Given a npde element, create the appropriate MapAction to be performed.
|
static MapAction |
createFromInputStream(java.io.InputStream is,
ConfigEnvironment config)
Given an input stream, create the appropriate MapAction to be performed.
|
static MapAction |
createFromUri(android.net.Uri configUri,
ConfigEnvironment config)
Given a uri, create the appropriate MapAction to be performed.
|
static MapAction |
loadFromConfigResource(java.lang.String resource,
ConfigEnvironment config)
Given a string resource, create the appropriate MapAction to be performed.
|
public static MapAction createFromInputStream(java.io.InputStream is, ConfigEnvironment config) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
is
- the input stream usedconfig
- the configuration environmentjava.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static MapAction createFromUri(android.net.Uri configUri, ConfigEnvironment config) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
configUri
- the uri usedconfig
- the configuration environmentjava.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static MapAction loadFromConfigResource(java.lang.String resource, ConfigEnvironment config) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
resource
- the string resource to be usedconfig
- the configuration environmentjavax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public static MapAction createFromElem(org.w3c.dom.Node elemNode, ConfigEnvironment config)
elemNode
- the node element to be usedconfig
- the configuration environment