Class FeatureTypeInfoImpl
- Object
-
- FeatureTypeInfoImpl
-
- All Implemented Interfaces:
ResourceInfo
,FeatureTypeInfo
public class FeatureTypeInfoImpl extends Object implements FeatureTypeInfo
-
-
Constructor Summary
Constructors Constructor Description FeatureTypeInfoImpl(FeatureTypeType eType, WFSConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAbstract()
ReferencedEnvelope
getBounds()
Returns the bounds of the resource, expressed in the native coordinate reference system.CoordinateReferenceSystem
getCRS()
Returns the coordinate reference system of this resource if known.String
getDefaultSRS()
String
getDescription()
Returns a description or abstract for this resource.Set<String>
getKeywords()
Returns keywords associated with this resource for use with searches etc.String
getName()
Returns the name of this resource within the context of its service.List<String>
getOtherSRS()
Set<String>
getOutputFormats()
QName
getQName()
URI
getSchema()
A namespace, in the form of aURI
, used to identify the resource type.String
getTitle()
Returns the resource's title.ReferencedEnvelope
getWGS84BoundingBox()
-
-
-
Constructor Detail
-
FeatureTypeInfoImpl
public FeatureTypeInfoImpl(FeatureTypeType eType, WFSConfig config)
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:ResourceInfo
Returns the resource's title.The title is human readable text representing the resource, in the current locale if available.
- Specified by:
getTitle
in interfaceFeatureTypeInfo
- Specified by:
getTitle
in interfaceResourceInfo
- Returns:
- tile, in the current locale if available.
-
getKeywords
public Set<String> getKeywords()
Description copied from interface:ResourceInfo
Returns keywords associated with this resource for use with searches etc.Known Mappings:
- Maps to Dublin Core's Subject element
- Specified by:
getKeywords
in interfaceFeatureTypeInfo
- Specified by:
getKeywords
in interfaceResourceInfo
- Returns:
- Keywords or
null
if unavailable
-
getDescription
public String getDescription()
Description copied from interface:ResourceInfo
Returns a description or abstract for this resource.Known Mappings:
- WFS GetCapabilities abstract
- WMS GetCapabilities abstract
- Specified by:
getDescription
in interfaceResourceInfo
- Returns:
- description of resource, or
null
if unavailable
-
getName
public String getName()
Description copied from interface:ResourceInfo
Returns the name of this resource within the context of its service.Known mappings:
- WFS typeName
- Database table name
- WMS layer name
- level of a grid coverage
- Specified by:
getName
in interfaceResourceInfo
- Returns:
- name of this resource
-
getQName
public QName getQName()
-
getSchema
public URI getSchema()
Description copied from interface:ResourceInfo
A namespace, in the form of aURI
, used to identify the resource type.Known Mappings:
- Dublin Code Format element
- WFS DescribeFeatureType URL
- file.toURI()
- XML namespace
- URL
- Specified by:
getSchema
in interfaceResourceInfo
- Returns:
- namespace, used with getName() to identify resource type
-
getBounds
public ReferencedEnvelope getBounds()
Description copied from interface:ResourceInfo
Returns the bounds of the resource, expressed in the native coordinate reference system. IF the bounds are unknown or undefined callingisNull()
on the returned envelope will returntrue
.- Specified by:
getBounds
in interfaceResourceInfo
- Returns:
- bounds of the resource if defined; otherwise an envelope where the
isNull()
returnstrue
-
getDefaultSRS
public String getDefaultSRS()
- Specified by:
getDefaultSRS
in interfaceFeatureTypeInfo
-
getCRS
public CoordinateReferenceSystem getCRS()
Description copied from interface:ResourceInfo
Returns the coordinate reference system of this resource if known.Known Mappings:
- 2nd part of the Dublin Core Coverage
- Shapefile prj file
- WFS SRS
- Specified by:
getCRS
in interfaceResourceInfo
- Returns:
- CRS of the resource, or
null
if unavailable.
-
getWGS84BoundingBox
public ReferencedEnvelope getWGS84BoundingBox()
- Specified by:
getWGS84BoundingBox
in interfaceFeatureTypeInfo
-
getOtherSRS
public List<String> getOtherSRS()
- Specified by:
getOtherSRS
in interfaceFeatureTypeInfo
-
getOutputFormats
public Set<String> getOutputFormats()
- Specified by:
getOutputFormats
in interfaceFeatureTypeInfo
-
getAbstract
public String getAbstract()
- Specified by:
getAbstract
in interfaceFeatureTypeInfo
-
-