type regards the GDSDimensionInfoEncoder
metadata Type which has different specialization for Features.
- Author:
- ETj (etj at geo-solutions.it), Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
- See Also:
GSDimensionInfoEncoder
,
GSFeatureDimensionInfoEncoder
Field Summary |
static java.lang.String |
KEYWORDS
|
static java.lang.String |
METADATA
|
static java.lang.String |
NAME
|
Method Summary |
void |
addKeyword(java.lang.String keyword)
|
void |
addLatLonBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
Deprecated. use the setSRS.
This method will be set as protected in the next release |
protected void |
addMetadata(java.lang.String key,
XmlElement dimensionInfo)
Deprecated. will be set to protected in the next release |
void |
addName(java.lang.String name)
Deprecated. use the setName.
This method will be set as protected in the next release |
void |
addNativeBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
Deprecated. use the setSRS.
This method will be set as protected in the next release |
void |
addProjectionPolicy(GSResourceEncoder.ProjectionPolicy policy)
Deprecated. use the setProjectionPolicy.
This method will be set as protected in the next release |
void |
addSRS(java.lang.String srs)
Deprecated. use the setSRS.
This method will be set as protected in the next release |
void |
addTitle(java.lang.String title)
Deprecated. use the setTitle.
This method will be set as protected in the next release |
boolean |
delKeyword(java.lang.String keyword)
delete a keyword from the list |
boolean |
delMetadata(java.lang.String key)
|
java.lang.String |
getName()
|
void |
setEnabled(boolean enabled)
|
void |
setLatLonBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
|
protected void |
setMetadata(java.lang.String key,
XmlElement dimensionInfo)
|
void |
setName(java.lang.String name)
Set or modify the 'name' node with a text value from 'name' |
void |
setNativeBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
|
void |
setProjectionPolicy(GSResourceEncoder.ProjectionPolicy policy)
NONE, REPROJECT_TO_DECLARED, FORCE_DECLARED |
void |
setSRS(java.lang.String srs)
Set or modify the 'SRS' node with a text value from 'srs' |
void |
setTitle(java.lang.String title)
Set or modify the 'title' node with a text value from 'title' |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
METADATA
public static final java.lang.String METADATA
- See Also:
- Constant Field Values
KEYWORDS
public static final java.lang.String KEYWORDS
- See Also:
- Constant Field Values
GSResourceEncoder
protected GSResourceEncoder(java.lang.String rootName)
- Parameters:
rootName
- Actually 'feature' or 'coverage'- See Also:
GSFeatureTypeEncoder
,
GSCoverageEncoder
setEnabled
public void setEnabled(boolean enabled)
addMetadata
protected void addMetadata(java.lang.String key,
XmlElement dimensionInfo)
- Deprecated. will be set to protected in the next release
- Parameters:
key
- dimensionInfo
-
setMetadata
protected void setMetadata(java.lang.String key,
XmlElement dimensionInfo)
delMetadata
public boolean delMetadata(java.lang.String key)
- Parameters:
key
- the name of the metadata to add (f.e.: elevation, time)
- Returns:
- true if something is removed, false otherwise
addKeyword
public void addKeyword(java.lang.String keyword)
delKeyword
public boolean delKeyword(java.lang.String keyword)
- delete a keyword from the list
- Parameters:
keyword
-
- Returns:
- true if something is removed, false otherwise
addProjectionPolicy
public void addProjectionPolicy(GSResourceEncoder.ProjectionPolicy policy)
- Deprecated. use the setProjectionPolicy.
This method will be set as protected in the next release
- NONE, REPROJECT_TO_DECLARED, FORCE_DECLARED
setProjectionPolicy
public void setProjectionPolicy(GSResourceEncoder.ProjectionPolicy policy)
- NONE, REPROJECT_TO_DECLARED, FORCE_DECLARED
addName
public void addName(java.lang.String name)
- Deprecated. use the setName.
This method will be set as protected in the next release
- Add the 'name' node with a text value from 'name'
setName
public void setName(java.lang.String name)
- Set or modify the 'name' node with a text value from 'name'
getName
public java.lang.String getName()
addTitle
public void addTitle(java.lang.String title)
- Deprecated. use the setTitle.
This method will be set as protected in the next release
- Add the 'title' node with a text value from 'title'
setTitle
public void setTitle(java.lang.String title)
- Set or modify the 'title' node with a text value from 'title'
addSRS
public void addSRS(java.lang.String srs)
- Deprecated. use the setSRS.
This method will be set as protected in the next release
- Add the 'SRS' node with a text value from 'srs'
setSRS
public void setSRS(java.lang.String srs)
- Set or modify the 'SRS' node with a text value from 'srs'
addLatLonBoundingBox
public void addLatLonBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
- Deprecated. use the setSRS.
This method will be set as protected in the next release
- Parameters:
minx
- maxy
- maxx
- miny
- crs
-
setLatLonBoundingBox
public void setLatLonBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
addNativeBoundingBox
public void addNativeBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
- Deprecated. use the setSRS.
This method will be set as protected in the next release
- Parameters:
minx
- maxy
- maxx
- miny
- crs
-
setNativeBoundingBox
public void setNativeBoundingBox(double minx,
double miny,
double maxx,
double maxy,
java.lang.String crs)
Copyright © 2007-2012 GeoSolutions. All Rights Reserved.