public class TLcdSLDFeatureTypeConstraint extends TLcdDataObject
Constructor and Description |
---|
TLcdSLDFeatureTypeConstraint()
Creates a new
TLcdSLDFeatureTypeConstraint instance. |
TLcdSLDFeatureTypeConstraint(String aFeatureTypeName,
TLcdOGCFilter aFilter,
TLcdSLDExtent[] aExtents)
Creates a new
TLcdSLDFeatureTypeConstraint instance with the given feature type name,
filter and extents. |
TLcdSLDFeatureTypeConstraint(TLcdDataType aDataType)
Creates a new
TLcdSLDFeatureTypeConstraint instance. |
Modifier and Type | Method and Description |
---|---|
void |
addExtent(TLcdSLDExtent aExtent)
Adds the given extent, which is a key-value pair.
|
List<TLcdSLDExtent> |
getExtent()
Returns the value of the property that maps to the
Extent element. |
TLcdSLDExtent |
getExtent(int aIndex)
Returns the extent at the given index.
|
int |
getExtentCount()
Returns the number of extents associated with this feature type constraints.
|
String |
getFeatureTypeName()
Returns the feature type name.
|
QName |
getFeatureTypeQName()
Returns the value of the property that maps to the
FeatureTypeName element. |
TLcdOGCFilter |
getOGCFilter()
Returns the filter.
|
void |
removeExtent(TLcdSLDExtent aExtent)
Removes the given extent.
|
void |
setFeatureTypeName(String aFeatureTypeName)
Sets the feature type name.
|
void |
setFeatureTypeQName(QName aValue)
Sets the value of the property that maps to the
FeatureTypeName element. |
void |
setOGCFilter(TLcdOGCFilter aFilter)
Sets a filter.
|
public TLcdSLDFeatureTypeConstraint()
TLcdSLDFeatureTypeConstraint
instance.public TLcdSLDFeatureTypeConstraint(String aFeatureTypeName, TLcdOGCFilter aFilter, TLcdSLDExtent[] aExtents)
TLcdSLDFeatureTypeConstraint
instance with the given feature type name,
filter and extents.aFeatureTypeName
- The feature type name of the constraint.aFilter
- The OGC filter of the constraint.aExtents
- The extents of the constraint.public TLcdSLDFeatureTypeConstraint(TLcdDataType aDataType)
TLcdSLDFeatureTypeConstraint
instance.public void setFeatureTypeName(String aFeatureTypeName)
aFeatureTypeName
- the feature type name.public String getFeatureTypeName()
null
if no feature type name is defined.public void setOGCFilter(TLcdOGCFilter aFilter)
aFilter
- a filter.public TLcdOGCFilter getOGCFilter()
null
if no filter is defined.public int getExtentCount()
public TLcdSLDExtent getExtent(int aIndex)
aIndex
- The index of the extent to be retrieved.public void addExtent(TLcdSLDExtent aExtent)
aExtent
- The extent to be added.public void removeExtent(TLcdSLDExtent aExtent)
aExtent
- The extent to be removed.public QName getFeatureTypeQName()
FeatureTypeName
element.FEATURE_TYPE_NAME_PROPERTY
property.public void setFeatureTypeQName(QName aValue)
FeatureTypeName
element.aValue
- the value to set for the FEATURE_TYPE_NAME_PROPERTY
property.public List<TLcdSLDExtent> getExtent()
Extent
element.
An Extent gives feature/coverage/raster/matrix dimension extent.
EXTENT_PROPERTY
property.