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()
ResourceInfo
The title is human readable text representing the resource, in the current locale if available.
getTitle
in interface ResourceInfo
public URI getSchema()
ResourceInfo
URI
, used to identify the resource type.
Known Mappings:
getSchema
in interface ResourceInfo
public String getName()
ResourceInfo
Known mappings:
getName
in interface ResourceInfo
public Set<String> getKeywords()
ResourceInfo
Known Mappings:
getKeywords
in interface ResourceInfo
public String getDescription()
ResourceInfo
Known Mappings:
getDescription
in interface ResourceInfo
public ReferencedEnvelope getBounds()
ResourceInfo
isNull()
on the returned envelope will
return true
.getBounds
in interface ResourceInfo
public CoordinateReferenceSystem getCRS()
ResourceInfo
Known Mappings:
getCRS
in interface ResourceInfo
public 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.