Java Doc for DataConfig.java in  » GIS » GeoServer » org » vfny » geoserver » config » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoServer » org.vfny.geoserver.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.vfny.geoserver.config.DataConfig

DataConfig
public class DataConfig (Code)
Data purpose.

Represents an instance of the catalog.xml file in the configuration of the server, along with associated configuration files for the feature types.


author:
   dzwiers, Refractions Research, Inc.
author:
   $Author: Alessio Fabiani (alessio.fabiani@gmail.com) $ (last modification)
author:
   $Author: Simone Giannecchini (simboss1@gmail.com) $ (last modification)
version:
   $Id: DataConfig.java 8391 2008-02-13 16:44:23Z aaime $
See Also:   DataSource
See Also:   FeatureTypeInfo
See Also:   StyleConfig


Field Summary
final public static  StringCONFIG_KEY
    
final public static  StringSELECTED_ATTRIBUTE_TYPE
    
final public static  StringSELECTED_COVERAGE
    
final public static  StringSELECTED_FEATURE_TYPE
    
final public static  StringSEPARATOR
    

Constructor Summary
public  DataConfig()
     Data constructor.
public  DataConfig(DataDTO data)
     Data constructor.

Creates a copy of the DataDTO provided.

public  DataConfig(Data data)
     Instantiates the data config from the data module.

Method Summary
public  voidaddCoverage(String key, CoverageConfig cv)
    
public  voidaddDataFormat(CoverageStoreConfig dataFormatConfig)
    
public  voidaddDataStore(DataStoreConfig dataStoreConfig)
    
public  voidaddFeatureType(String key, FeatureTypeConfig ft)
     setFeatures purpose.
public  voidaddNameSpace(String key, NameSpaceConfig ns)
     setNameSpaces purpose.
public  voidaddStyle(String key, StyleConfig s)
     setStyles purpose.
public  CoverageConfiggetCoverageConfig(String key)
    
public  SortedSetgetCoverageIdentifiers(ServletContext sc)
    
public  MapgetCoverages()
    
public  CoverageStoreConfiggetDataFormat(String key)
     getDataFormats purpose.
public  ListgetDataFormatIds()
    
public  MapgetDataFormats()
     getDataFormats purpose.
public  DataStoreConfiggetDataStore(String key)
     getDataStores purpose.
public  ListgetDataStoreIds()
    
public  MapgetDataStores()
     getDataStores purpose.
public  NameSpaceConfiggetDefaultNameSpace()
     getDefaultNameSpace purpose.
public  FeatureTypeConfiggetFeatureTypeConfig(String key)
     getFeatures purpose.
public  ListgetFeatureTypeConfigKeys()
    
public  SortedSetgetFeatureTypeIdentifiers(ServletContext sc)
    
public  MapgetFeaturesTypes()
     getFeatures purpose.
public  NameSpaceConfiggetNameSpace(String key)
     getNameSpaces purpose.
public  MapgetNameSpaces()
     getNameSpaces purpose.
public  StyleConfiggetStyle(String key)
     getStyles purpose.
public  MapgetStyles()
     getStyles purpose.
public  ListlistDataFormatIds()
    
public  ListlistDataStoreIds()
    
public  FeatureTypeConfiglookupFeatureTypeConfig(String key)
     Lookup FeatureTypeConfig for things like WMS.
public  CoverageConfigremoveCoverage(String key)
    
public  CoverageStoreConfigremoveDataFormat(String key)
     setDataFormats purpose.
public  DataStoreConfigremoveDataStore(String key)
     setDataStores purpose.
public  FeatureTypeConfigremoveFeatureType(String key)
     setFeatures purpose.
public  NameSpaceConfigremoveNameSpace(String key)
     setNameSpaces purpose.
public  StyleConfigremoveStyle(String key)
     setStyles purpose.
public  voidsetCoverages(Map coverages)
    
public  voidsetDataFormats(Map dataFormats)
    
public  voidsetDataStores(Map map)
     setDataStores purpose.
public  voidsetDefaultNameSpace(NameSpaceConfig support)
     setDefaultNameSpace purpose.
public  voidsetFeaturesTypes(Map map)
     setFeatures purpose.
public  voidsetFormats(Map map)
     setFormats purpose.
public  voidsetNameSpaces(Map map)
     setNameSpaces purpose.
public  voidsetStyles(Map map)
     setStyles purpose.
public  DataDTOtoDTO()
    
public  RepositorytoRepository(ServletContext context)
     To DataRepository for ValidationProcessor.
public synchronized  voidupdate(DataDTO data)
     Implement loadDTO.

Field Detail
CONFIG_KEY
final public static String CONFIG_KEY(Code)



SELECTED_ATTRIBUTE_TYPE
final public static String SELECTED_ATTRIBUTE_TYPE(Code)



SELECTED_COVERAGE
final public static String SELECTED_COVERAGE(Code)



SELECTED_FEATURE_TYPE
final public static String SELECTED_FEATURE_TYPE(Code)



SEPARATOR
final public static String SEPARATOR(Code)




Constructor Detail
DataConfig
public DataConfig()(Code)
Data constructor.

Creates a Data to represent an instance with default data.


See Also:    defaultSettings()



DataConfig
public DataConfig(DataDTO data)(Code)
Data constructor.

Creates a copy of the DataDTO provided. If the Data provided is null then default values are used. All the datastructures are cloned.


Parameters:
  data - The catalog to copy.



DataConfig
public DataConfig(Data data)(Code)
Instantiates the data config from the data module.
Parameters:
  data - The data module.




Method Detail
addCoverage
public void addCoverage(String key, CoverageConfig cv)(Code)



addDataFormat
public void addDataFormat(CoverageStoreConfig dataFormatConfig)(Code)
Add a new CoverageStoreConfig for the user to edit

The DataFormatCondig will be added under its id name


Parameters:
  dataFormatConfig -



addDataStore
public void addDataStore(DataStoreConfig dataStoreConfig)(Code)
Add a new DataStoreConfig for the user to edit

The DataStoreCondig will be added under its id name


Parameters:
  dataStoreConfig -



addFeatureType
public void addFeatureType(String key, FeatureTypeConfig ft)(Code)
setFeatures purpose.

Description ...


Parameters:
  key -
Parameters:
  ft - DOCUMENT ME!



addNameSpace
public void addNameSpace(String key, NameSpaceConfig ns)(Code)
setNameSpaces purpose.

Description ...


Parameters:
  key -
Parameters:
  ns - DOCUMENT ME!



addStyle
public void addStyle(String key, StyleConfig s)(Code)
setStyles purpose.

Description ...


Parameters:
  key -
Parameters:
  s - DOCUMENT ME!



getCoverageConfig
public CoverageConfig getCoverageConfig(String key)(Code)



getCoverageIdentifiers
public SortedSet getCoverageIdentifiers(ServletContext sc)(Code)



getCoverages
public Map getCoverages()(Code)
Returns the coverages.



getDataFormat
public CoverageStoreConfig getDataFormat(String key)(Code)
getDataFormats purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



getDataFormatIds
public List getDataFormatIds()(Code)



getDataFormats
public Map getDataFormats()(Code)
getDataFormats purpose.

Description ...




getDataStore
public DataStoreConfig getDataStore(String key)(Code)
getDataStores purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



getDataStoreIds
public List getDataStoreIds()(Code)



getDataStores
public Map getDataStores()(Code)
getDataStores purpose.

Description ...




getDefaultNameSpace
public NameSpaceConfig getDefaultNameSpace()(Code)
getDefaultNameSpace purpose.

Description ...




getFeatureTypeConfig
public FeatureTypeConfig getFeatureTypeConfig(String key)(Code)
getFeatures purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



getFeatureTypeConfigKeys
public List getFeatureTypeConfigKeys()(Code)



getFeatureTypeIdentifiers
public SortedSet getFeatureTypeIdentifiers(ServletContext sc)(Code)
This is the list of all feature types a set of all "DataStoreId.TypeName"



getFeaturesTypes
public Map getFeaturesTypes()(Code)
getFeatures purpose.

Description ...




getNameSpace
public NameSpaceConfig getNameSpace(String key)(Code)
getNameSpaces purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



getNameSpaces
public Map getNameSpaces()(Code)
getNameSpaces purpose.

Description ...




getStyle
public StyleConfig getStyle(String key)(Code)
getStyles purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



getStyles
public Map getStyles()(Code)
getStyles purpose.

Description ...




listDataFormatIds
public List listDataFormatIds()(Code)
List of DataFormatIds DOCUMENT ME!



listDataStoreIds
public List listDataStoreIds()(Code)
List of DataStoreIds DOCUMENT ME!



lookupFeatureTypeConfig
public FeatureTypeConfig lookupFeatureTypeConfig(String key)(Code)
Lookup FeatureTypeConfig for things like WMS.
Parameters:
  key - Key based on dataStoreID.typeName FeatureTypeInfo or null if not found
throws:
  NoSuchElementException - DOCUMENT ME!



removeCoverage
public CoverageConfig removeCoverage(String key)(Code)



removeDataFormat
public CoverageStoreConfig removeDataFormat(String key)(Code)
setDataFormats purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



removeDataStore
public DataStoreConfig removeDataStore(String key)(Code)
setDataStores purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



removeFeatureType
public FeatureTypeConfig removeFeatureType(String key)(Code)
setFeatures purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



removeNameSpace
public NameSpaceConfig removeNameSpace(String key)(Code)
setNameSpaces purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



removeStyle
public StyleConfig removeStyle(String key)(Code)
setStyles purpose.

Description ...


Parameters:
  key - DOCUMENT ME!



setCoverages
public void setCoverages(Map coverages)(Code)

Parameters:
  coverages - The coverages to set.



setDataFormats
public void setDataFormats(Map dataFormats)(Code)

Parameters:
  dataFormats - The dataFormats to set.



setDataStores
public void setDataStores(Map map)(Code)
setDataStores purpose.

Description ...


Parameters:
  map -



setDefaultNameSpace
public void setDefaultNameSpace(NameSpaceConfig support)(Code)
setDefaultNameSpace purpose.

Description ...


Parameters:
  support -



setFeaturesTypes
public void setFeaturesTypes(Map map)(Code)
setFeatures purpose.

Description ...


Parameters:
  map -



setFormats
public void setFormats(Map map)(Code)
setFormats purpose.

Description ...


Parameters:
  map -



setNameSpaces
public void setNameSpaces(Map map)(Code)
setNameSpaces purpose.

Description ...


Parameters:
  map -



setStyles
public void setStyles(Map map)(Code)
setStyles purpose.

Description ...


Parameters:
  map -



toDTO
public DataDTO toDTO()(Code)



toRepository
public Repository toRepository(ServletContext context) throws IOException(Code)
To DataRepository for ValidationProcessor.

This repository is limited to the FeatureTypes currently defined.
throws:
  IOException -




update
public synchronized void update(DataDTO data)(Code)
Implement loadDTO.

Populates the object with the param passed.


Parameters:
  data - An instance of DataDTO to populate this object
throws:
  NullPointerException - DOCUMENT ME!
See Also:   org.vfny.geoserver.config.DataStructure.loadDTO(java.lang.Object)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.