| java.lang.Object net.refractions.udig.catalog.IGeoResourceInfo
IGeoResourceInfo | public class IGeoResourceInfo (Code) | | Represents a bean style metadata accessor for metadata about a geoResource.
The methods within this class must be non-blocking. This class, and sub-classes represent cached
versions of the metadata about a particular service.
Much of this interface is based on Dublin Core and the RDF application profile.
Any changes to this content will be communicate by an event by the assocaited GeoResource.
author: David Zwiers, Refractions Research since: 0.6 |
Method Summary | |
public ReferencedEnvelope | getBounds() Returns the BBox of the resource if one exists, The null envelope otherwise. | public CoordinateReferenceSystem | getCRS() Returns the CRS of the resource if one exists, null otherwise. | public String | getDescription() Returns the resource's description. | public ImageDescriptor | getIcon() Base symbology (with out decorators) representing this resource.
The ImageDescriptor returned should conform the the Eclipse User Interface Guidelines (16x16
image with a 16x15 glyph centered).
This plug-in provides default based on resource type:
<b>return</b> ISharedImages.getImagesDescriptor( IGeoResoruce );
Any LabelProvider should use the default image, a label decorator should be used to pick up
these images in a separate thread. | public String[] | getKeywords() | public String | getName() Returns the name of the data ... | public URI | getSchema() Returns the xml schema namespace for this resource type. | public String | getTitle() |
bounds | protected ReferencedEnvelope bounds(Code) | | |
icon | protected ImageDescriptor icon(Code) | | |
titledescriptionname | protected String titledescriptionname(Code) | | |
IGeoResourceInfo | protected IGeoResourceInfo()(Code) | | |
IGeoResourceInfo | public IGeoResourceInfo(String title, String name, String description, URI schema, Envelope bounds, CoordinateReferenceSystem crs, String[] keywords, ImageDescriptor icon)(Code) | | |
getBounds | public ReferencedEnvelope getBounds()(Code) | | Returns the BBox of the resource if one exists, The null envelope otherwise.
The bounds are returned in (ie should be reprojected to) Lat Long:
- DefaultGeographicCRS.WGS84
- EPSG:4369 (LatLong NAD83)
- ESPG 4326 (another LatLong)
Known Mappings:
- 1st part of the Dublin Core Coverage
Lat Long bounding box of the resource |
getCRS | public CoordinateReferenceSystem getCRS()(Code) | | Returns the CRS of the resource if one exists, null otherwise.
Known Mappings:
- 2nd part of the Dublin Core Coverage
CRS of the resource, or null if unknown. |
getDescription | public String getDescription()(Code) | | Returns the resource's description.
Known Mappings:
- WFS GetCapabilities description
- WMS GetCapabilities description
description of resource, or null if unavailable |
getIcon | public ImageDescriptor getIcon()(Code) | | Base symbology (with out decorators) representing this resource.
The ImageDescriptor returned should conform the the Eclipse User Interface Guidelines (16x16
image with a 16x15 glyph centered).
This plug-in provides default based on resource type:
<b>return</b> ISharedImages.getImagesDescriptor( IGeoResoruce );
Any LabelProvider should use the default image, a label decorator should be used to pick up
these images in a separate thread. This allows resources like WMS to make blocking request of
an external service.
ImageDescriptor symbolizing this resource |
getKeywords | public String[] getKeywords()(Code) | | Returns the keywords assocaited with this resource
Known Mappings:
- Maps to Dublin Core's Subject element
Keywords for use with search, or null unavailable. |
getName | public String getName()(Code) | | Returns the name of the data ... such as the typeName or LayerName.
Known Mappings:
- WFS typeName
- Database table name
- WMS layer name
name of the data, used with getSchema() to identify resource |
getSchema | public URI getSchema()(Code) | | Returns the xml schema namespace for this resource type.
Known Mappings:
- Dublin Code Format element
namespace, used with getName() to identify resource |
getTitle | public String getTitle()(Code) | | Returns the resource's title
Readble title (in current local) |
|
|