public class TLcdSLDLayerFeatureConstraints extends TLcdDataObject
Constructor and Description |
---|
TLcdSLDLayerFeatureConstraints()
Creates a new
TLcdSLDLayerFeatureConstraint instance. |
TLcdSLDLayerFeatureConstraints(TLcdDataType aDataType)
Creates a new
TLcdSLDLayerFeatureConstraint instance. |
TLcdSLDLayerFeatureConstraints(TLcdSLDFeatureTypeConstraint[] aFeatureTypeConstraints)
Creates a new
TLcdSLDLayerFeatureConstraint instance with the given feature type constraints. |
Modifier and Type | Method and Description |
---|---|
void |
addFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
Adds a feature type constraint to this SLD layer.
|
void |
addFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
Deprecated.
|
List<TLcdSLDFeatureTypeConstraint> |
getFeatureTypeConstraint()
Returns the value of the property that maps to the
FeatureTypeConstraint element. |
TLcdSLDFeatureTypeConstraint |
getFeatureTypeConstraint(int aIndex)
Returns the feature type constraint of this SLD layer at a given index.
|
int |
getFeatureTypeConstraintCount()
Returns the number of eature constraints associated with this SLD layer.
|
void |
removeFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
Removes a feature type constraint from this SLD layer.
|
void |
removeFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
Deprecated.
|
public TLcdSLDLayerFeatureConstraints()
TLcdSLDLayerFeatureConstraint
instance.public TLcdSLDLayerFeatureConstraints(TLcdSLDFeatureTypeConstraint[] aFeatureTypeConstraints)
TLcdSLDLayerFeatureConstraint
instance with the given feature type constraints.aFeatureTypeConstraints
- The feature type constraints.public TLcdSLDLayerFeatureConstraints(TLcdDataType aDataType)
TLcdSLDLayerFeatureConstraint
instance.public int getFeatureTypeConstraintCount()
public TLcdSLDFeatureTypeConstraint getFeatureTypeConstraint(int aIndex) throws IndexOutOfBoundsException
aIndex
- the index of the feature type constraint to return.IndexOutOfBoundsException
@Deprecated public void addFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
addFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint)
@Deprecated public void removeFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
removeFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint)
public void addFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
aFeatureTypeConstraint
- the feature constraint to be added.public void removeFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint)
aFeatureTypeConstraint
- the feature constraint to be removed.public List<TLcdSLDFeatureTypeConstraint> getFeatureTypeConstraint()
FeatureTypeConstraint
element.
A FeatureTypeConstraint identifies a specific feature type and supplies fitlering.
FEATURE_TYPE_CONSTRAINT_PROPERTY
property.