|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.datasource.IlvHierarchicalDataSource.CriterionFilter
ilog.views.maps.datasource.IlvHierarchicalDataSource.SingleAttributeFilter
ilog.views.maps.filters.IlvSplitFeatureFilter
public abstract class IlvSplitFeatureFilter
Base filter that is compared to a reference value.
IlvSplitDataSource| Field Summary | |
|---|---|
protected String |
reference
Reference value. |
static int |
RESULT_BOTH
Result type indicating that all features should be kept. |
static int |
RESULT_NOK
Result type indicating that only the features not matching the filter should be kept. |
static int |
RESULT_OK
Result type indicating that only the features matching the filter should be kept. |
protected int |
resultType
Type of result: keep matching, non matching or both. |
| Constructor Summary | |
|---|---|
IlvSplitFeatureFilter(IlvInputStream stream)
Creates a new IlvSplitFeatureFilter. |
|
IlvSplitFeatureFilter(String propertyName,
String description,
String ref,
int resultType)
Creates a new IlvSplitFeatureFilter. |
|
| Method Summary | |
|---|---|
Object |
getValue(IlvMapFeature feature)
Returns a value for the specified map feature. |
void |
write(IlvOutputStream stream)
Writes this filter to a IlvOutputStream |
| Methods inherited from class ilog.views.maps.datasource.IlvHierarchicalDataSource.SingleAttributeFilter |
|---|
getAttributeDescription, getAttributeName, getCriterionDescription, setAttributeDescription, setAttributeName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RESULT_OK
public static final int RESULT_NOK
public static final int RESULT_BOTH
protected final String reference
protected final int resultType
| Constructor Detail |
|---|
public IlvSplitFeatureFilter(IlvInputStream stream)
throws IlvReadFileException
IlvSplitFeatureFilter.
stream - The stream to read the filter definition from.
IlvReadFileException - if fields are missing
public IlvSplitFeatureFilter(String propertyName,
String description,
String ref,
int resultType)
IlvSplitFeatureFilter.
propertyName - The property name to check.description - The description of the filter (unused).ref - The reference value.resultType - The type of the resulting layers. The result type should be one of:
| Method Detail |
|---|
public Object getValue(IlvMapFeature feature)
getValue in class IlvHierarchicalDataSource.SingleAttributeFilterfeature - the specified map feature.
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream
write in interface IlvPersistentObjectwrite in class IlvHierarchicalDataSource.SingleAttributeFilterstream - The stream to write to.
IOException - thrown when an exception occurs during
the write operation for this object.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||