public class DefaultResourceInfo extends Object implements ResourceInfo
| Constructor and Description |
|---|
DefaultResourceInfo() |
DefaultResourceInfo(ResourceInfo copy) |
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
URI |
getSchema()
A namespace, in the form of a
URI, used to identify the resource type. |
String |
getTitle()
Returns the resource's title.
|
void |
setBounds(ReferencedEnvelope bounds) |
void |
setCRS(CoordinateReferenceSystem crs) |
void |
setDescription(String description) |
void |
setKeywords(Set<String> keywords) |
void |
setName(String name) |
void |
setSchema(URI schema) |
void |
setTitle(String title) |
public DefaultResourceInfo()
public DefaultResourceInfo(ResourceInfo copy)
public String getTitle()
ResourceInfoThe title is human readable text representing the resource, in the current locale if available.
getTitle in interface ResourceInfopublic URI getSchema()
ResourceInfoURI, used to identify the resource type.
Known Mappings:
getSchema in interface ResourceInfopublic String getName()
ResourceInfoKnown mappings:
getName in interface ResourceInfopublic Set<String> getKeywords()
ResourceInfoKnown Mappings:
getKeywords in interface ResourceInfopublic String getDescription()
ResourceInfoKnown Mappings:
getDescription in interface ResourceInfopublic ReferencedEnvelope getBounds()
ResourceInfoisNull() on the returned envelope will
return true.getBounds in interface ResourceInfopublic CoordinateReferenceSystem getCRS()
ResourceInfoKnown Mappings:
getCRS in interface ResourceInfopublic void setCRS(CoordinateReferenceSystem crs)
crs - the crs to setpublic void setTitle(String title)
title - the title to setpublic void setSchema(URI schema)
schema - the schema to setpublic void setName(String name)
name - the name to setpublic void setKeywords(Set<String> keywords)
keywords - the keywords to setpublic void setDescription(String description)
description - the description to setpublic void setBounds(ReferencedEnvelope bounds)
bounds - the bounds to setCopyright © 1996–2019 Geotools. All rights reserved.