Class GSAttributeEncoder
- java.lang.Object
-
- it.geosolutions.geoserver.rest.encoder.utils.XmlElement
-
- it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
-
- it.geosolutions.geoserver.rest.encoder.feature.GSAttributeEncoder
-
public class GSAttributeEncoder extends PropertyXMLEncoder
GSAttributeEncoder class.
- Version:
- $Id: $
- Author:
- carlo cancellieri - GeoSolutions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGSAttributeEncoder.filterByName
-
Constructor Summary
Constructors Constructor Description GSAttributeEncoder()Constructor for GSAttributeEncoder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelAttribute(FeatureTypeAttribute type)delAttributejava.lang.StringgetAttribute(FeatureTypeAttribute type)getAttributestatic org.jdom.filter.FiltergetFilterByName(java.lang.String name)getFilterByNamevoidsetAttribute(FeatureTypeAttribute type, java.lang.String value)setAttributevoidsetup(java.util.Map<FeatureTypeAttribute,java.lang.String> attributes)setup-
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
add, get, get, set
-
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, addContent, getRoot, isEmpty, remove, set, setRoot, setRoot, toString
-
-
-
-
Method Detail
-
getFilterByName
public static org.jdom.filter.Filter getFilterByName(java.lang.String name)
getFilterByName
- Parameters:
name- aStringobject.- Returns:
- a
Filterobject.
-
setup
public void setup(java.util.Map<FeatureTypeAttribute,java.lang.String> attributes)
setup
- Parameters:
attributes- aMapobject.
-
setAttribute
public void setAttribute(FeatureTypeAttribute type, java.lang.String value)
setAttribute
- Parameters:
type- aFeatureTypeAttributeobject.value- aStringobject.
-
delAttribute
public void delAttribute(FeatureTypeAttribute type)
delAttribute
- Parameters:
type- aFeatureTypeAttributeobject.
-
getAttribute
public java.lang.String getAttribute(FeatureTypeAttribute type)
getAttribute
- Parameters:
type- aFeatureTypeAttributeobject.- Returns:
- a
Stringobject.
-
-