org.geotools.data.complex.config
Class XMLConfigDigester

Object
  extended by XMLConfigDigester

public class XMLConfigDigester
extends Object

Digester to consume the app-schema AppSchemaDataAccessFactory configuration file.

Since:
2.4
Author:
Gabriel Roldan (Axios Engineering), Rini Angreani (CSIRO Earth Science and Resource Engineering), Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering), Russell Petty (GeoScience Victoria)

Field Summary
protected  InterpolationProperties properties
          Properties
 
Constructor Summary
XMLConfigDigester()
          Creates a new XMLConfigReader object.
XMLConfigDigester(InterpolationProperties properties)
          Creates a new XMLConfigReader object.
 
Method Summary
 AppSchemaDataAccessDTO parse(URL dataStoreConfigUrl)
          Parses a complex datastore configuration file in xml format into a AppSchemaDataAccessDTO
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected InterpolationProperties properties
Properties

Constructor Detail

XMLConfigDigester

public XMLConfigDigester()
Creates a new XMLConfigReader object.


XMLConfigDigester

public XMLConfigDigester(InterpolationProperties properties)
Creates a new XMLConfigReader object.

Parameters:
properties - Properties to use for interpolation
Method Detail

parse

public AppSchemaDataAccessDTO parse(URL dataStoreConfigUrl)
                             throws IOException
Parses a complex datastore configuration file in xml format into a AppSchemaDataAccessDTO

Parameters:
dataStoreConfigUrl - config file location
Returns:
a DTO object representing the datastore's configuration
Throws:
IOException - if an error occurs parsing the file


Copyright © 1996-2014 Geotools. All Rights Reserved.