Method Summary |
|
public DataDTO | getData() getData purpose. |
public GeoServerDTO | getGeoServer() getGeoServer purpose. |
protected List | getKeyWords(Element keywordsElem) getKeyWords purpose.
Converts a DOM tree into a List of Strings representing keywords.
Parameters: keywordsElem - a DOM tree to convert into a List of Strings representingkeywords. |
protected Level | getLoggingLevel(Element globalConfigElem) getLoggingLevel purpose. |
public static MetaDataLink | getMetaDataLink(Element metadataElem) getMetaDataLink purpose.
Used to help with XML manipulations. |
public WCSDTO | getWcs() getWcs purpose. |
public WFSDTO | getWfs() getWfs purpose. |
public WMSDTO | getWms() getWms purpose. |
protected static boolean | isInfoFile(File testFile) isInfoFile purpose.
Used to perform safety checks on info.xml file handles.
Parameters: testFile - The file to test. |
public boolean | isInitialized() |
protected void | load() load purpose. |
protected Envelope | loadBBox(Element bboxElem) loadLatLongBBox purpose.
Converts a DOM tree into a Envelope object.
Parameters: bboxElem - a DOM tree to convert into a Envelope object. |
protected void | loadCatalog(File catalogFile, File featureTypeDir, File styleDir, File coverageDir) loadCatalog purpose. |
protected Map | loadConnectionParams(Element connElem) loadConnectionParams purpose.
Converts a DOM tree into a Map of Strings which represent connection
parameters.
Parameters: connElem - a DOM tree to convert into a Map of Strings which representconnection parameters. |
protected ContactDTO | loadContact(Element contactInfoElement) loadContact purpose.
Converts a DOM tree into a ContactConfig
Parameters: contactInfoElement - a DOM tree to convert into a ContactConfig. |
protected CoverageInfoDTO | loadCoverage(File infoFile) This method loads the coverage information DTO from an info.xml file on
the disk. |
protected CoverageInfoDTO | loadCoverageDTOFromXML(Element coverageRoot) Creation of a DTo cfron an info.xml file for a coverage. |
protected Map | loadCoverages(File coverageRoot) This method loads all the coverages present under the geoserver data
directory in a Map by using their respective DTOs. |
protected DataStoreInfoDTO | loadDataStore(Element dsElem) loadDataStore purpose.
Converts a DOM tree into a DataStoreInfo object.
Parameters: dsElem - a DOM tree to convert into a DataStoreInfo object. |
protected Map | loadDataStores(Element dsRoot) loadDataStores purpose.
Converts a DOM tree into a Map of DataStores.
Parameters: dsRoot - a DOM tree to convert into a Map of DataStores. |
protected Filter | loadDefinitionQuery(Element typeRoot) loadDefinitionQuery purpose.
Converts a DOM tree into a Filter object.
Parameters: typeRoot - a DOM tree to convert into a Filter object. |
protected InternationalString[] | loadDimensionNames(Element gridElem) |
protected CoverageDimension[] | loadDimensions(NodeList dimElems) |
protected GeneralEnvelope | loadEnvelope(Element envelopeElem, CoordinateReferenceSystem crs) Loading the envelope for this coverage from the info.xml file. |
protected FeatureTypeInfoDTO | loadFeature(File infoFile) Load FeatureTypeInfoDTO from a directory.
Expected directory structure:
- info.xml - required
- schema.xml - optional
If a schema.xml file is not used, the information may be generated from a
FeatureType using DataTransferObjectFactory.
Parameters: infoFile - a File to convert into a FeatureTypeInfo object. |
protected FeatureTypeInfoDTO | loadFeaturePt2(Element fTypeRoot) loadFeaturePt2 purpose.
Converts a DOM tree into a FeatureTypeInfo object.
Parameters: fTypeRoot - a DOM tree to convert into a FeatureTypeInfo object. |
protected Map | loadFeatureTypes(File featureTypeRoot) Load map of FeatureTypeDTO instances from a directory. |
protected CoverageStoreInfoDTO | loadFormat(Element fmElem) loadFormat purpose.
Converts a DOM tree into a CoverageStoreInfo object.
Parameters: fmElem - a DOM tree to convert into a CoverageStoreInfo object. |
protected Map | loadFormats(Element fmRoot) loadFormats purpose.
Converts a DOM tree into a Map of Formats.
Parameters: fmRoot - a DOM tree to convert into a Map of Formats. |
protected void | loadGlobal(Element globalElem) loadGlobal purpose. |
protected GridGeometry | loadGrid(Element gridElem, GeneralEnvelope envelope, CoordinateReferenceSystem crs) This method is in charge for loading the grid geometry for this
coverage's info.xml file. |
protected MetaDataLink | loadMetaDataLink(Element metalinkRoot) |
protected Map | loadNameSpaces(Element nsRoot) loadNameSpaces purpose.
Converts a DOM tree into a Map of NameSpaces.
Parameters: nsRoot - a DOM tree to convert into a Map of NameSpaces. |
protected void | loadSchema(File schemaFile, FeatureTypeInfoDTO dto) Process schema File for a list of AttributeTypeInfoDTO. |
protected ServiceDTO | loadService(Element serviceRoot) loadService purpose.
Converts a DOM tree into a ServiceDTO object.
Parameters: serviceRoot - a DOM tree to convert into a ServiceDTO object. |
protected void | loadServices(File configFile) loadServices purpose. |
protected Map | loadStyles(Element stylesElem, File baseDir) loadStyles purpose. |
protected void | loadWCS(Element wcsElement) loadWCS purpose. |
protected void | loadWFS(Element wfsElement) loadWFS purpose. |
protected void | loadWMS(Element wmsElement) loadWMS purpose. |
public static void | processSchema(Element elem, FeatureTypeInfoDTO featureTypeInfoDTO) Process schema DOM for a list of AttributeTypeInfoDTO. |
protected void | setDefaultNS() setDefaultNS purpose.
Finds and sets the default namespace. |