|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.global.xml.XMLConfigWriter
XMLConfigWriter purpose.
This class is intended to store a configuration to be written and complete the output to XML.
Method Summary | |
static void |
store(DataDTO data,
java.io.File root)
|
static void |
store(WMSDTO wms,
WFSDTO wfs,
GeoServerDTO geoServer,
DataDTO data,
java.io.File root)
|
static void |
store(WMSDTO wms,
WFSDTO wfs,
GeoServerDTO geoServer,
java.io.File root)
|
protected static void |
storeCatalog(WriterHelper cw,
DataDTO data)
storeCatalog purpose. |
protected static void |
storeContact(ContactDTO c,
WriterHelper cw)
storeContact purpose. |
protected static void |
storeDataStore(WriterHelper cw,
DataStoreInfoDTO ds)
storeDataStore purpose. |
protected static void |
storeFeature(FeatureTypeInfoDTO ft,
java.io.File dir)
storeStyle purpose. |
protected static void |
storeFeatures(java.io.File dir,
DataDTO data)
storeStyle purpose. |
protected static void |
storeFeatureSchema(FeatureTypeInfoDTO fs,
java.io.File dir)
|
static void |
storeFeatureSchema(FeatureTypeInfoDTO fs,
java.io.Writer w)
|
protected static void |
storeNameSpace(WriterHelper cw,
NameSpaceInfoDTO ns)
storeNameSpace purpose. |
protected static void |
storeService(java.lang.Object obj,
WriterHelper cw)
storeService purpose. |
protected static void |
storeServices(WriterHelper cw,
WMSDTO wms,
WFSDTO wfs,
GeoServerDTO geoServer)
storeServices purpose. |
protected static void |
storeStyle(WriterHelper cw,
StyleDTO s)
storeStyle purpose. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void store(DataDTO data, java.io.File root) throws ConfigurationException
ConfigurationException
public static void store(WMSDTO wms, WFSDTO wfs, GeoServerDTO geoServer, java.io.File root) throws ConfigurationException
ConfigurationException
public static void store(WMSDTO wms, WFSDTO wfs, GeoServerDTO geoServer, DataDTO data, java.io.File root) throws ConfigurationException
ConfigurationException
protected static void storeServices(WriterHelper cw, WMSDTO wms, WFSDTO wfs, GeoServerDTO geoServer) throws ConfigurationException
Writes the services.xml file from the model in memory.
cw
- The Configuration Writerwms
- DOCUMENT ME!wfs
- DOCUMENT ME!geoServer
- DOCUMENT ME!
ConfigurationException
- When an IO exception occurs.protected static void storeContact(ContactDTO c, WriterHelper cw) throws ConfigurationException
Writes a contact into the WriterUtils provided from the ContactConfig provided.
c
- The ContactConfig to write.cw
- The Configuration Writer
ConfigurationException
- When an IO exception occurs.protected static void storeService(java.lang.Object obj, WriterHelper cw) throws ConfigurationException
Writes a service into the WriterUtils provided from the WFS or WMS object provided.
obj
- either a WFS or WMS object.cw
- The Configuration Writer
ConfigurationException
- When an IO exception occurs or the object
provided is not of the correct type.protected static void storeCatalog(WriterHelper cw, DataDTO data) throws ConfigurationException
Writes a catalog into the WriterUtils provided from Data provided in memory.
cw
- The Configuration Writerdata
- DOCUMENT ME!
ConfigurationException
- When an IO exception occurs.protected static void storeDataStore(WriterHelper cw, DataStoreInfoDTO ds) throws ConfigurationException
Writes a DataStoreInfo into the WriterUtils provided.
cw
- The Configuration Writerds
- The Datastore.
ConfigurationException
- When an IO exception occurs.protected static void storeNameSpace(WriterHelper cw, NameSpaceInfoDTO ns) throws ConfigurationException
Writes a NameSpaceInfoDTO into the WriterUtils provided.
cw
- The Configuration Writerns
- The NameSpaceInfo.
ConfigurationException
- When an IO exception occurs.protected static void storeStyle(WriterHelper cw, StyleDTO s) throws ConfigurationException
Writes a StyleDTO into the WriterUtils provided.
cw
- The Configuration Writers
- The StyleDTO.
ConfigurationException
- When an IO exception occurs.protected static void storeFeatures(java.io.File dir, DataDTO data) throws ConfigurationException
Sets up writing FeatureTypes into their Directories.
dir
- The FeatureTypes directorydata
- DOCUMENT ME!
ConfigurationException
- When an IO exception occurs.storeFeature(FeatureTypeInfo,File)
protected static void storeFeature(FeatureTypeInfoDTO ft, java.io.File dir) throws ConfigurationException
Writes a FeatureTypes into it's Directory.
ft
- DOCUMENT ME!dir
- The particular FeatureTypeInfo directory
ConfigurationException
- When an IO exception occurs.storeFeatures(File)
protected static void storeFeatureSchema(FeatureTypeInfoDTO fs, java.io.File dir) throws ConfigurationException
ConfigurationException
public static void storeFeatureSchema(FeatureTypeInfoDTO fs, java.io.Writer w) throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |