|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.gml.props.GMLStdProps
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.GMLStdProps |
|---|
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,java.util.List<Property>> |
create(java.util.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. |
java.util.Collection<Property> |
getProperties(GMLVersion version)
Returns the corresponding Property instances for a specific GML version. |
Property[] |
getProperties(javax.xml.namespace.QName propName,
GMLVersion version)
Returns the standard GML properties with the given name. |
java.lang.Object[] |
getPropertiesValues(javax.xml.namespace.QName propName,
GMLVersion version)
Returns the values of the standard GML properties with the given name. |
Property |
getProperty(javax.xml.namespace.QName propName,
GMLVersion version)
Returns the standard GML property with the given name. |
static PropertyType |
getPropertyType(javax.xml.namespace.QName propName,
GMLVersion version)
Returns the standard GML property declaration with the given name for the specified GML version. |
static java.util.Collection<PropertyType> |
getPropertyTypes(GMLVersion version)
Returns the declaration for standard properties that any GML feature allows for. |
java.lang.Object |
getPropertyValue(javax.xml.namespace.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(javax.xml.namespace.QName propName,
int occurence,
TypedObjectNode value,
GMLVersion version)
|
java.lang.String |
toString()
|
| Methods inherited from class org.deegree.gml.props.GMLStdProps |
|---|
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 nulldescription - description, may be nullidentifier - identifier, may be nullnames - names, may be nullboundedBy - 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 java.util.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(javax.xml.namespace.QName propName,
GMLVersion version)
propName - name of the requested property, must not be nullversion - GML version, must not be null
Property instance or null if no such property exists
public java.lang.Object getPropertyValue(javax.xml.namespace.QName propName,
GMLVersion version)
propName - name of the requested property, must not be nullversion - GML version, must not be null
null if no such property exists
public Property[] getProperties(javax.xml.namespace.QName propName,
GMLVersion version)
propName - name of the requested properties, must not be nullversion - GML version, must not be null
Property instances or null if no such property exists
public java.lang.Object[] getPropertiesValues(javax.xml.namespace.QName propName,
GMLVersion version)
propName - name of the requested properties, must not be nullversion - GML version, must not be null
Property values or null if no such property existspublic static java.util.Collection<PropertyType> getPropertyTypes(GMLVersion version)
version - GML version, must not be null
public static PropertyType getPropertyType(javax.xml.namespace.QName propName,
GMLVersion version)
propName - qualified name of the propertyversion - GML version, must not be null
null if no such property type exists
public boolean setPropertyValue(javax.xml.namespace.QName propName,
int occurence,
TypedObjectNode value,
GMLVersion version)
public static Pair<StandardGMLFeatureProps,java.util.List<Property>> create(java.util.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 java.lang.String toString()
toString in class GMLStdProps
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||