|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.feature.property.ExtraProps
public class ExtraProps
Encapsulates additional Property
instances that can be associated with a Feature
, but which don't
actually belong to the set of properties defined by the FeatureType
(e.g. for storing rendering hints along
with the feature).
Field Summary | |
---|---|
static String |
EXTRA_PROP_NS
|
static String |
EXTRA_PROP_NS_GEOMETRY
Namespace for geometry-valued extra properties |
static String |
EXTRA_PROP_NS_STRING
Namespace for string-valued extra properties |
Constructor Summary | |
---|---|
ExtraProps(Property[] props)
|
Method Summary | |
---|---|
Property[] |
getProperties()
Returns all properties in order. |
Property[] |
getProperties(String propName)
Returns the properties with the given name, in order. |
Property |
getProperty(String propName)
Returns the property with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EXTRA_PROP_NS
public static final String EXTRA_PROP_NS_STRING
public static final String EXTRA_PROP_NS_GEOMETRY
Constructor Detail |
---|
public ExtraProps(Property[] props)
Method Detail |
---|
public Property[] getProperties()
public Property[] getProperties(String propName)
propName
- name of the requested properties
null
public Property getProperty(String propName)
propName
- name of the requested property
IllegalArgumentException
- if the feature has more than one property with the given name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |