Java Doc for GlobalLayerSupertype.java in  » GIS » GeoServer » org » vfny » geoserver » global » 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.global 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.vfny.geoserver.global.GlobalLayerSupertype

All known Subclasses:   org.vfny.geoserver.global.NameSpaceInfo,  org.vfny.geoserver.global.MetaDataLink,  org.vfny.geoserver.global.LegendURL,  org.vfny.geoserver.global.GeoServer,  org.vfny.geoserver.global.Data,  org.vfny.geoserver.global.CoverageStoreInfo,  org.vfny.geoserver.global.CoverageInfo,  org.vfny.geoserver.global.CoverageDimension,  org.vfny.geoserver.global.DataStoreInfo,  org.vfny.geoserver.global.MapLayerInfo,  org.vfny.geoserver.global.FeatureTypeInfo,
GlobalLayerSupertype
abstract class GlobalLayerSupertype (Code)
This class implements some library function for all the sub classes in this package. This class follows the Layer Supertype pattern as defined in Fowler's Patterns of Enterprise Application Architecture. Here the pattern is described in great detail between pages 475 and 479. The main idea is to have a super class contain all the common functionality of the sub-classes which does not pertain to particular manipulations within the classes.
author:
   Gabriel Rold�n
author:
   dzwiers
version:
   $Id: GlobalLayerSupertype.java 7746 2007-11-13 15:38:35Z aaime $


Field Summary
final protected static  LoggerLOGGER
    


Method Summary
public static  Stringget(Map map, String key)
     get purpose.

Gets a String from a map of Strings


Parameters:
  map - Map the map to extract the string from
Parameters:
  key - String the key for the map.
public static  Fileget(Map map, String key, File defaultFile)
     get purpose.

Gets a File from a map given the specified key.

public static  Stringget(Map map, String key, String defaultValue)
     get purpose.

Gets a String from a map of Strings, and returns the default if the string does not exist.


Parameters:
  map - Map the map to extract the string from
Parameters:
  key - String the key for the map.
Parameters:
  defaultValue - The default value should the key not exist.
public static  Listget(Map map, String key, List defaultList)
     get purpose.

Gets a List from a map given the specified key.

public static  Mapget(Map map, String key, Map defaultMap)
     get purpose.

Gets a Map from a map given the specified key.

public static  intget(Map map, String key, int defaultValue)
     get purpose.

Gets a int from a map given the specified key.

public static  booleanget(Map map, String key, boolean defaultValue)
     get purpose.

Gets a boolean from a map given the specified key.

public static  Charsetget(Map map, String key, Charset defaultCharSet)
     get purpose.

Gets a Charset from a map given the specified key.

public static  Levelget(Map map, String key, Level defaultLevel)
     get purpose.

Gets a Level from a map given the specified key.

public static  URLget(Map map, String key, URL defaultUrl)
     get purpose.

Gets a URL from a map given the specified key.

public static  Classget(Map map, String key, Class defaultType)
     get purpose.

Gets a Class from a map given the specified key.

protected  StringnotNull(String s)
    
abstract  ObjecttoDTO()
     getDTO purpose.

A hook to get the DTO object of all subclasses.


Field Detail
LOGGER
final protected static Logger LOGGER(Code)
for debugging





Method Detail
get
public static String get(Map map, String key)(Code)
get purpose.

Gets a String from a map of Strings


Parameters:
  map - Map the map to extract the string from
Parameters:
  key - String the key for the map. String the value in the map.
See Also:   Map



get
public static File get(Map map, String key, File defaultFile)(Code)
get purpose.

Gets a File from a map given the specified key. If the file is not found the default file is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultFile - The default value should the key not exist. File a File as described above.



get
public static String get(Map map, String key, String defaultValue)(Code)
get purpose.

Gets a String from a map of Strings, and returns the default if the string does not exist.


Parameters:
  map - Map the map to extract the string from
Parameters:
  key - String the key for the map.
Parameters:
  defaultValue - The default value should the key not exist. String the value in the map.
See Also:   Map



get
public static List get(Map map, String key, List defaultList)(Code)
get purpose.

Gets a List from a map given the specified key. If the list is not found the default list is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultList - The default value should the key not exist. List a List as described above.



get
public static Map get(Map map, String key, Map defaultMap)(Code)
get purpose.

Gets a Map from a map given the specified key. If the map is not found the default map is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultMap - The default value should the key not exist. Map a Map as described above.



get
public static int get(Map map, String key, int defaultValue)(Code)
get purpose.

Gets a int from a map given the specified key. If the int is not found the default int is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultValue - The default value should the key not exist. int an int as described above.



get
public static boolean get(Map map, String key, boolean defaultValue)(Code)
get purpose.

Gets a boolean from a map given the specified key. If the boolean is not found the default boolean is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultValue - The default value should the key not exist. boolean an boolean as described above.



get
public static Charset get(Map map, String key, Charset defaultCharSet)(Code)
get purpose.

Gets a Charset from a map given the specified key. If the Charset is not found the default Charset is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultCharSet - The default value should the key not exist. Charset an boolean as described above.



get
public static Level get(Map map, String key, Level defaultLevel)(Code)
get purpose.

Gets a Level from a map given the specified key. If the Level is not found the default Level is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultLevel - The default value should the key not exist. Level an boolean as described above.



get
public static URL get(Map map, String key, URL defaultUrl)(Code)
get purpose.

Gets a URL from a map given the specified key. If the URL is not found the default URL is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultUrl - The default value should the key not exist. URL an boolean as described above.



get
public static Class get(Map map, String key, Class defaultType)(Code)
get purpose.

Gets a Class from a map given the specified key. If the Class is not found the default Class is returned.


Parameters:
  map - Map the map to extract the file from
Parameters:
  key - String the key to extract the value for
Parameters:
  defaultType - The default value should the key not exist. Class an boolean as described above.



notNull
protected String notNull(String s)(Code)
checks s for nullity and if so, returns an empty String, else just returns s
Parameters:
  s - String String non-null String (null -> "")



toDTO
abstract Object toDTO()(Code)
getDTO purpose.

A hook to get the DTO object of all subclasses. This method is dangerous as it return the original. It is not intended to be public, and should only be accessed without a clone being created inside the package.

A DTO object to be casted as appropriate.



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.