public static class IlvHierarchicalDataSource.SingleAttributeFilter extends IlvHierarchicalDataSource.CriterionFilter
Constructor and Description |
---|
SingleAttributeFilter(IlvInputStream stream)
Constructs a
SingleAttributeFilter from the specified
stream. |
SingleAttributeFilter(String attributeName,
String attributeDescription)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
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 an
IlvOutputStream |
public SingleAttributeFilter(String attributeName, String attributeDescription)
attributeName
- The name of the attribute to look for.attributeDescription
- A short description of the attribute.public 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.public Object getValue(IlvMapFeature feature)
Null
.getValue
in class IlvHierarchicalDataSource.CriterionFilter
feature
- The specified map feature.public String getCriterionDescription()
getCriterionDescription
in class IlvHierarchicalDataSource.CriterionFilter
public String getAttributeName()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
stream
- The stream to write to.IOException
public void setAttributeName(String attributeName)
attributeName
- The name of the attribute.public String getAttributeDescription()
public void setAttributeDescription(String attributeDescription)
attributeDescription
- The description of the attribute.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.