|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.gml.props.GMLStdPropsImpl org.deegree.gml.feature.StandardGMLFeatureProps
public class StandardGMLFeatureProps
Version-agnostic representation of the standard properties that any GML Feature
allows for.
GMLStdProps
Field Summary | |
---|---|
static PropertyType |
PT_BOUNDED_BY_GML2
GML 2 standard property type 'gml:boundedBy' |
static PropertyType |
PT_BOUNDED_BY_GML31
GML 3.0/3.1 standard property type 'gml:boundedBy' |
static PropertyType |
PT_BOUNDED_BY_GML32
GML 3.2 standard property type 'gml:boundedBy' |
Fields inherited from class org.deegree.gml.props.GMLStdPropsImpl |
---|
description, identifier, metadata, names, PT_DESCRIPTION_GML2, PT_DESCRIPTION_GML31, PT_DESCRIPTION_GML32, PT_DESCRIPTION_REFERENCE_GML32, PT_IDENTIFIER_GML32, PT_META_DATA_PROPERTY_GML31, PT_META_DATA_PROPERTY_GML32, PT_NAME_GML2, PT_NAME_GML31, PT_NAME_GML32 |
Constructor Summary | |
---|---|
StandardGMLFeatureProps(TypedObjectNode[] metadata,
StringOrRef description,
CodeType identifier,
CodeType[] names,
Envelope boundedBy)
Creates a new StandardGMLFeatureProps instance. |
Method Summary | |
---|---|
static Pair<StandardGMLFeatureProps,List<Property>> |
create(List<Property> props,
GMLVersion version)
Creates a StandardGMLFeatureProps instances from the given list of Property objects and returns
the remaining properties that are not GML default properties. |
Envelope |
getBoundedBy()
Returns the boundedBy property value. |
Collection<Property> |
getProperties(GMLVersion version)
Returns the corresponding Property instances for a specific GML version. |
Property[] |
getProperties(QName propName,
GMLVersion version)
Returns the standard GML properties with the given name. |
Object[] |
getPropertiesValues(QName propName,
GMLVersion version)
Returns the values of the standard GML properties with the given name. |
Property |
getProperty(QName propName,
GMLVersion version)
Returns the standard GML property with the given name. |
static PropertyType |
getPropertyType(QName propName,
GMLVersion version)
Returns the standard GML property declaration with the given name for the specified GML version. |
static Collection<PropertyType> |
getPropertyTypes(GMLVersion version)
Returns the declaration for standard properties that any GML feature allows for. |
Object |
getPropertyValue(QName propName,
GMLVersion version)
Returns the value of the standard GML property with the given name. |
void |
setBoundedBy(Envelope boundedBy)
Sets the value for the boundedBy property. |
boolean |
setPropertyValue(QName propName,
int occurence,
TypedObjectNode value,
GMLVersion version)
|
String |
toString()
|
Methods inherited from class org.deegree.gml.props.GMLStdPropsImpl |
---|
getDescription, getIdentifier, getMetadata, getNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PropertyType PT_BOUNDED_BY_GML2
public static final PropertyType PT_BOUNDED_BY_GML31
public static final PropertyType PT_BOUNDED_BY_GML32
Constructor Detail |
---|
public StandardGMLFeatureProps(TypedObjectNode[] metadata, StringOrRef description, CodeType identifier, CodeType[] names, Envelope boundedBy)
StandardGMLFeatureProps
instance.
metadata
- metadata values, may be null
description
- description, may be null
identifier
- identifier, may be null
names
- names, may be null
boundedBy
- bounding box, may be null
Method Detail |
---|
public Envelope getBoundedBy()
boundedBy
property value.
boundedBy
property value, or null
if not definedpublic void setBoundedBy(Envelope boundedBy)
boundedBy
property.
boundedBy
- the value for the boundedBy
property (or null
to clear it)public Collection<Property> getProperties(GMLVersion version)
Property
instances for a specific GML version.
version
- GML version, must not be null
Property
instances, may be empty, but never null
public Property getProperty(QName propName, GMLVersion version)
propName
- name of the requested property, must not be null
version
- GML version, must not be null
Property
instance or null
if no such property existspublic Object getPropertyValue(QName propName, GMLVersion version)
propName
- name of the requested property, must not be null
version
- GML version, must not be null
null
if no such property existspublic Property[] getProperties(QName propName, GMLVersion version)
propName
- name of the requested properties, must not be null
version
- GML version, must not be null
Property
instances or null
if no such property existspublic Object[] getPropertiesValues(QName propName, GMLVersion version)
propName
- name of the requested properties, must not be null
version
- GML version, must not be null
Property
values or null
if no such property existspublic static Collection<PropertyType> getPropertyTypes(GMLVersion version)
version
- GML version, must not be null
public static PropertyType getPropertyType(QName propName, GMLVersion version)
propName
- qualified name of the propertyversion
- GML version, must not be null
null
if no such property type existspublic boolean setPropertyValue(QName propName, int occurence, TypedObjectNode value, GMLVersion version)
public static Pair<StandardGMLFeatureProps,List<Property>> create(List<Property> props, GMLVersion version)
StandardGMLFeatureProps
instances from the given list of Property
objects and returns
the remaining properties that are not GML default properties.
props
- version
- GML version, must not be null
public String toString()
toString
in class GMLStdPropsImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |