|
||||||||||
| 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
public static class IlvHierarchicalDataSource.SingleAttributeFilter
A specialized criterion filter that returns the value of an attribute of a map feature.
| Constructor Summary | |
|---|---|
IlvHierarchicalDataSource.SingleAttributeFilter(IlvInputStream stream)
Constructs a SingleAttributeFilter from the specified stream. |
|
IlvHierarchicalDataSource.SingleAttributeFilter(String attributeName,
String attributeDescription)
Public constructor |
|
| Method Summary | |
|---|---|
String |
getAttributeDescription()
Gets the attribute description used by this filter. |
String |
getAttributeName()
Returns the attribute name used by this filter to return a value for a map feature. |
String |
getCriterionDescription()
Returns a description for this filter |
Object |
getValue(IlvMapFeature feature)
Returns a value for the specified map feature. |
void |
setAttributeDescription(String attributeDescription)
Sets the attribute description used by this filter. |
void |
setAttributeName(String attributeName)
Sets the attribute name used by this filter to return a value for a map feature. |
void |
write(IlvOutputStream stream)
Writes this filter to a IlvOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvHierarchicalDataSource.SingleAttributeFilter(String attributeName,
String attributeDescription)
attributeName - the name of the attribute to look forattributeDescription - a short description of the attribute
public IlvHierarchicalDataSource.SingleAttributeFilter(IlvInputStream stream)
throws IlvReadFileException
SingleAttributeFilter from the specified stream.
stream - the IlvInputStream to read from.
IlvReadFileException - exception thrown if an error was encountered when deserializing this object.| Method Detail |
|---|
public Object getValue(IlvMapFeature feature)
getValue in class IlvHierarchicalDataSource.CriterionFilterfeature - the specified map feature.
public String getCriterionDescription()
getCriterionDescription in class IlvHierarchicalDataSource.CriterionFilterpublic String getAttributeName()
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream
stream - The stream to write to.
IOExceptionpublic void setAttributeName(String attributeName)
attributeName - the name of the attribute.public String getAttributeDescription()
public void setAttributeDescription(String attributeDescription)
attributeDescription - the description of the attribute.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||