|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceInfo
Information about a resource.
This interface is based on Dublin Core and the RDF application profile.
There are two ids that may be associated with a resource:
modules/library/api (gt-api.jar)
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Bounding box of the resource (in the native CRS), envelope isNull otherwise. |
CoordinateReferenceSystem |
getCRS()
Returns the CRS of the resource if known. |
String |
getDescription()
Resource's description or abstract. |
Set<String> |
getKeywords()
Keywords associated with this resource Known Mappings: Maps to Dublin Core's Subject element |
String |
getName()
Name of the resource with the context of its service. |
URI |
getSchema()
A URI used to identify the resource type. |
String |
getTitle()
Resource's title. |
Method Detail |
---|
String getTitle()
The title is human readable text representing the resource, in the current locale if available.
Set<String> getKeywords()
Known Mappings:
null
unavailable.String getDescription()
Known Mappings:
null
if unavailableString getName()
Known Mappings:
URI getSchema()
Known Mappings:
ReferencedEnvelope getBounds()
You can transform this envelope to Lat Long with a single line:
info.getBounds().transform( DefaultGeographicCRS.WGS84, true );
Here are several other options for LatLong:
CoordinateReferenceSystem getCRS()
Known Mappings:
null
if unknown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |