|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CRSResource
Interface describing a CRS or an arbirary component of a CRS.
| Method Summary | |
|---|---|
void |
addAreaOfUse(String areaOfUse)
|
void |
addName(String name)
|
String |
getAreaOfUse()
|
double[] |
getAreaOfUseBBox()
Returns the area of use, i.e. the domain where this CRSIdentifiable is valid. |
String[] |
getAreasOfUse()
|
CRSCodeType |
getCode()
|
String |
getCodeAndName()
|
CRSCodeType[] |
getCodes()
|
String |
getDescription()
|
String[] |
getDescriptions()
|
String |
getName()
|
String[] |
getNames()
|
String[] |
getOrignalCodeStrings()
|
String |
getVersion()
|
String[] |
getVersions()
|
boolean |
hasCode(CRSCodeType id)
|
boolean |
hasId(String id,
boolean caseSensitive,
boolean exact)
|
boolean |
hasIdOrName(String idOrName,
boolean caseSensitive,
boolean exact)
Iterates over all Ids (code type originals) and Names and tests if either one matches the given string. |
void |
setDefaultAreaOfUse(double[] bbox)
|
void |
setDefaultDescription(String newDescription,
boolean override)
|
void |
setDefaultId(CRSCodeType newCodeType,
boolean override)
|
void |
setDefaultName(String defaultName,
boolean override)
|
void |
setDefaultVersion(String newVersion,
boolean override)
|
| Methods inherited from interface org.deegree.commons.tom.Object |
|---|
getId |
| Method Detail |
|---|
String getAreaOfUse()
null if no areasOfUse were given.String getDescription()
null if no descriptions were given.CRSCodeType getCode()
String getName()
null if no names were given.String getVersion()
null if no versions were given.String getCodeAndName()
String[] getAreasOfUse()
null if no areasOfUse were given.String[] getDescriptions()
null if no descriptions were given.CRSCodeType[] getCodes()
String[] getOrignalCodeStrings()
String[] getNames()
null if no names were given.String[] getVersions()
null if no versions were given.boolean hasCode(CRSCodeType id)
id - a string which could match this identifiable.
boolean hasIdOrName(String idOrName,
boolean caseSensitive,
boolean exact)
idOrName - a String which might be an id or a name.caseSensitive - should the match me case sensitiveexact - should the names and ids contain the given string or match exact.
boolean hasId(String id,
boolean caseSensitive,
boolean exact)
id - caseSensitive - exact -
double[] getAreaOfUseBBox()
CRSIdentifiable is valid.
null
(-180,-90,180,90) if no such information is available
void setDefaultId(CRSCodeType newCodeType,
boolean override)
newCodeType - override - void setDefaultAreaOfUse(double[] bbox)
bbox - an envelope of validity in epsg:4326 coordinates, min(lon,lat) max(lon,lat);void addAreaOfUse(String areaOfUse)
areaOfUse - void addName(String name)
name -
void setDefaultName(String defaultName,
boolean override)
defaultName - the new default nameoverride - true if the new name should override the name currently at position 0
void setDefaultDescription(String newDescription,
boolean override)
newDescription - the new default descriptionoverride - true if the new description should override the description currently at position 0
void setDefaultVersion(String newVersion,
boolean override)
newVersion - the new default versionoverride - true if the new version should override the version currently at position 0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||