|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| 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<Envelope> |
PT_BOUNDED_BY_GML2
GML 2 standard property type 'gml:boundedBy' |
static PropertyType<Envelope> |
PT_BOUNDED_BY_GML31
GML 3.0/3.1 standard property type 'gml:boundedBy' |
static PropertyType<Envelope> |
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(Object[] 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,
Object value,
GMLVersion version)
|
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<Envelope> PT_BOUNDED_BY_GML2
public static final PropertyType<Envelope> PT_BOUNDED_BY_GML31
public static final PropertyType<Envelope> PT_BOUNDED_BY_GML32
| Constructor Detail |
|---|
public StandardGMLFeatureProps(Object[] 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 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 nullversion - GML version, must not be null
Property instance or null if no such property exists
public Object getPropertyValue(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(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 Object[] getPropertiesValues(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 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 exists
public boolean setPropertyValue(QName propName,
int occurence,
Object 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 GMLStdProps
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||