|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.IGeoResourceInfo
public class IGeoResourceInfo
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.
Field Summary | |
---|---|
protected ReferencedEnvelope |
bounds
|
protected java.lang.String |
description
|
protected ImageDescriptor |
icon
|
protected java.lang.String[] |
keywords
|
protected java.lang.String |
name
|
protected java.net.URI |
schema
|
protected java.lang.String |
title
|
Constructor Summary | |
---|---|
protected |
IGeoResourceInfo()
|
|
IGeoResourceInfo(java.lang.String title,
java.lang.String name,
java.lang.String description,
java.net.URI schema,
Envelope bounds,
CoordinateReferenceSystem crs,
java.lang.String[] keywords,
ImageDescriptor icon)
|
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Returns the BBox of the resource if one exists, The null envelope otherwise. |
CoordinateReferenceSystem |
getCRS()
Returns the CRS of the resource if one exists, null otherwise. |
java.lang.String |
getDescription()
Returns the resource's description. |
ImageDescriptor |
getIcon()
Base symbology (with out decorators) representing this resource. |
java.lang.String[] |
getKeywords()
Returns the keywords assocaited with this resource |
java.lang.String |
getName()
Returns the name of the data ... |
java.net.URI |
getSchema()
Returns the xml schema namespace for this resource type. |
java.lang.String |
getTitle()
Returns the resource's title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String title
protected java.lang.String description
protected java.lang.String name
protected java.lang.String[] keywords
protected java.net.URI schema
protected ImageDescriptor icon
protected ReferencedEnvelope bounds
Constructor Detail |
---|
protected IGeoResourceInfo()
public IGeoResourceInfo(java.lang.String title, java.lang.String name, java.lang.String description, java.net.URI schema, Envelope bounds, CoordinateReferenceSystem crs, java.lang.String[] keywords, ImageDescriptor icon)
Method Detail |
---|
public java.lang.String getTitle()
public java.lang.String[] getKeywords()
Known Mappings:
null
unavailable.public java.lang.String getDescription()
Known Mappings:
null
if unavailablepublic java.net.URI getSchema()
Known Mappings:
public java.lang.String getName()
Known Mappings:
public ImageDescriptor getIcon()
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.
public ReferencedEnvelope getBounds()
The bounds are returned in (ie should be reprojected to) Lat Long:
Known Mappings:
public CoordinateReferenceSystem getCRS()
Known Mappings:
null
if unknown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |