public class XMLConfigDigester extends Object
AppSchemaDataAccessFactory
configuration file.Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_NS_URI
Namespace URI for the AppSchemaDataAccess configuration files
|
protected InterpolationProperties |
properties
Properties
|
Constructor and Description |
---|
XMLConfigDigester()
Creates a new XMLConfigReader object.
|
XMLConfigDigester(InterpolationProperties properties)
Creates a new XMLConfigReader object.
|
Modifier and Type | Method and Description |
---|---|
AppSchemaDataAccessDTO |
parse(URL dataStoreConfigUrl)
Parses a complex datastore configuration file in xml format into a
AppSchemaDataAccessDTO |
static void |
setCommonSourceDataStoreRules(Class<? extends SourceDataStore> datStoreType,
String dataStoreTag,
Digester digester)
Helper method that can be used by stores to contribute their own XML configurations.
|
public static final String CONFIG_NS_URI
protected InterpolationProperties properties
public XMLConfigDigester()
public XMLConfigDigester(InterpolationProperties properties)
properties
- Properties to use for interpolationpublic AppSchemaDataAccessDTO parse(URL dataStoreConfigUrl) throws IOException
AppSchemaDataAccessDTO
dataStoreConfigUrl
- config file locationIOException
- if an error occurs parsing the filepublic static void setCommonSourceDataStoreRules(Class<? extends SourceDataStore> datStoreType, String dataStoreTag, Digester digester)
datStoreType
- the data store classdataStoreTag
- custom tag namedigester
- the XML parser configuration to useCopyright © 1996–2019 Geotools. All rights reserved.