| java.lang.Object org.vfny.geoserver.global.GlobalLayerSupertype org.vfny.geoserver.global.NameSpaceInfo
NameSpaceInfo | public class NameSpaceInfo extends GlobalLayerSupertype (Code) | | NameSpaceInfo purpose.
A representation of a namespace for the Geoserver application.
NameSpaceInfo ns = new NameSpaceInfo(dto); System.out.println(ns.getPrefix()
+ ns.getUri());
author: dzwiers, Refractions Research, Inc. version: $Id: NameSpaceInfo.java 6326 2007-03-15 18:36:40Z jdeolive $ |
NameSpaceInfo | public NameSpaceInfo(Data data, NameSpaceInfoDTO ns)(Code) | | NameSpaceConfig constructor.
Creates a NameSpaceConfig based on the data provided. All the data
structures are cloned.
Parameters: data - DOCUMENT ME! Parameters: ns - The namespace to copy. throws: NullPointerException - when the param is null |
NameSpaceInfo | public NameSpaceInfo(NameSpaceInfo ns)(Code) | | NameSpaceConfig constructor.
Creates a copy of the NameSpaceConfig provided. All the data structures
are cloned.
Parameters: ns - The namespace to copy. throws: NullPointerException - when the param is null |
containsMetaData | public boolean containsMetaData(String key)(Code) | | Implement containsMetaData.
Parameters: key - See Also: org.geotools.data.MetaData.containsMetaData(java.lang.String) |
equals | public boolean equals(Object obj)(Code) | | Implement equals.
recursively tests to determine if the object passed in is a copy of this
object.
Parameters: obj - The NameSpaceConfig object to test. true when the object passed is the same as this object. See Also: java.lang.Object.equals(java.lang.Object) |
getFeatureTypeInfo | public FeatureTypeInfo getFeatureTypeInfo(String typeName)(Code) | | Search for FeatureTypeInfo based on prefix:typeName
Convience method for data.getFeatureTypeInfo( typeName, uri );
Parameters: typeName - See Also: org.geotools.data.NamespaceMetaData.getFeatureTypeMetaData(java.lang.String) |
getMetaData | public Object getMetaData(String key)(Code) | | Implement getMetaData.
Parameters: key - See Also: org.geotools.data.MetaData.getMetaData(java.lang.String) |
getPrefix | public String getPrefix()(Code) | | getPrefix purpose.
returns the namespace's prefix.
String the namespace's prefix |
getTypeNames | public Set getTypeNames()(Code) | | This should be a list of available typeNames for the namespace.
Makes use of data to get the list of all FeatureTypes, returns the names
that match this prefix. This is just the typeName and not the full
prefix:typeName.
See Also: org.geotools.data.NamespaceMetaData.getTypeNames |
getURI | public String getURI()(Code) | | Implementation of getURI.
See Also: org.geotools.data.NamespaceMetaData.getURI |
getUri | public String getUri()(Code) | | getUri purpose.
returns the namespace's uri.
String the namespace's uri. |
isDefault | public boolean isDefault()(Code) | | isDefault purpose.
Whether this is the default namespace.
true when this is the default namespace. |
putMetaData | public void putMetaData(String key, Object value)(Code) | | Implement putMetaData.
Parameters: key - Parameters: value - See Also: org.geotools.data.MetaData.putMetaData(java.lang.Stringjava.lang.Object) |
setDefault | public void setDefault(boolean b)(Code) | | setDdefault purpose.
sets the default namespace.
Parameters: b - this is the default namespace. |
setPrefix | public void setPrefix(String string)(Code) | | setPrefix purpose.
stores the namespace's prefix.
Parameters: string - the namespace's prefix. |
setUri | public void setUri(String string)(Code) | | setUri purpose.
Stores the namespace's uri.
Parameters: string - the namespace's uri. |
Fields inherited from org.vfny.geoserver.global.GlobalLayerSupertype | final protected static Logger LOGGER(Code)(Java Doc)
|
Methods inherited from org.vfny.geoserver.global.GlobalLayerSupertype | public static String get(Map map, String key)(Code)(Java Doc) public static File get(Map map, String key, File defaultFile)(Code)(Java Doc) public static String get(Map map, String key, String defaultValue)(Code)(Java Doc) public static List get(Map map, String key, List defaultList)(Code)(Java Doc) public static Map get(Map map, String key, Map defaultMap)(Code)(Java Doc) public static int get(Map map, String key, int defaultValue)(Code)(Java Doc) public static boolean get(Map map, String key, boolean defaultValue)(Code)(Java Doc) public static Charset get(Map map, String key, Charset defaultCharSet)(Code)(Java Doc) public static Level get(Map map, String key, Level defaultLevel)(Code)(Java Doc) public static URL get(Map map, String key, URL defaultUrl)(Code)(Java Doc) public static Class get(Map map, String key, Class defaultType)(Code)(Java Doc) protected String notNull(String s)(Code)(Java Doc) abstract Object toDTO()(Code)(Java Doc)
|
|
|