Package com.luciad.wms.sld.model
Class TLcdSLDLayerFeatureConstraints
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.wms.sld.model.TLcdSLDLayerFeatureConstraints
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
Represents a LayerFeatureConstraint, which defines what features and feature types are referenced in a layer.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newTLcdSLDLayerFeatureConstraintinstance.TLcdSLDLayerFeatureConstraints(TLcdDataType aDataType) Creates a newTLcdSLDLayerFeatureConstraintinstance.TLcdSLDLayerFeatureConstraints(TLcdSLDFeatureTypeConstraint[] aFeatureTypeConstraints) Creates a newTLcdSLDLayerFeatureConstraintinstance with the given feature type constraints. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Adds a feature type constraint to this SLD layer.voidaddFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Deprecated.Returns the value of the property that maps to theFeatureTypeConstraintelement.getFeatureTypeConstraint(int aIndex) Returns the feature type constraint of this SLD layer at a given index.intReturns the number of eature constraints associated with this SLD layer.voidremoveFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Removes a feature type constraint from this SLD layer.voidremoveFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Deprecated.
-
Constructor Details
-
TLcdSLDLayerFeatureConstraints
public TLcdSLDLayerFeatureConstraints()Creates a newTLcdSLDLayerFeatureConstraintinstance. -
TLcdSLDLayerFeatureConstraints
Creates a newTLcdSLDLayerFeatureConstraintinstance with the given feature type constraints.- Parameters:
aFeatureTypeConstraints- The feature type constraints.
-
TLcdSLDLayerFeatureConstraints
Creates a newTLcdSLDLayerFeatureConstraintinstance.
-
-
Method Details
-
getFeatureTypeConstraintCount
public int getFeatureTypeConstraintCount()Returns the number of eature constraints associated with this SLD layer.- Returns:
- the number of feature type constraints associated with this SLD layer.
-
getFeatureTypeConstraint
public TLcdSLDFeatureTypeConstraint getFeatureTypeConstraint(int aIndex) throws IndexOutOfBoundsException Returns the feature type constraint of this SLD layer at a given index.- Parameters:
aIndex- the index of the feature type constraint to return.- Returns:
- the feature type constraint of this SLD layer at a given index.
- Throws:
IndexOutOfBoundsException
-
addFeatureTypeContraint
@Deprecated public void addFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Deprecated. -
removeFeatureTypeContraint
@Deprecated public void removeFeatureTypeContraint(TLcdSLDFeatureTypeConstraint aFeatureTypeConstraint) Deprecated. -
addFeatureTypeConstraint
Adds a feature type constraint to this SLD layer.- Parameters:
aFeatureTypeConstraint- the feature constraint to be added.
-
removeFeatureTypeConstraint
Removes a feature type constraint from this SLD layer.- Parameters:
aFeatureTypeConstraint- the feature constraint to be removed.
-
getFeatureTypeConstraint
Returns the value of the property that maps to theFeatureTypeConstraintelement.A FeatureTypeConstraint identifies a specific feature type and supplies fitlering.
- Returns:
- the value of the
FEATURE_TYPE_CONSTRAINT_PROPERTYproperty.
-
addFeatureTypeConstraint(TLcdSLDFeatureTypeConstraint)