ilog.views.maps.filters
Class IlvExplodeFilter

java.lang.Object
  extended by ilog.views.maps.datasource.IlvHierarchicalDataSource.CriterionFilter
      extended by ilog.views.maps.datasource.IlvHierarchicalDataSource.SingleAttributeFilter
          extended by ilog.views.maps.filters.IlvExplodeFilter
All Implemented Interfaces:
IlvPersistentObject

public final class IlvExplodeFilter
extends IlvHierarchicalDataSource.SingleAttributeFilter

Filter that explodes all different values in different layers.

Since:
JViews 8.0
See Also:
IlvSplitDataSource

Constructor Summary
IlvExplodeFilter(IlvInputStream stream)
          Creates a new IlvExplodeFilter.
IlvExplodeFilter(String name, String description)
          Creates a new IlvExplodeFilter.
 
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
 

Constructor Detail

IlvExplodeFilter

public IlvExplodeFilter(String name,
                        String description)
Creates a new IlvExplodeFilter.

Parameters:
name - The name of the property to be used for splitting.
description - A description of the filter.

IlvExplodeFilter

public IlvExplodeFilter(IlvInputStream stream)
                 throws IlvReadFileException
Creates a new IlvExplodeFilter.

Parameters:
stream - The stream to read from.
Throws:
IlvReadFileException
Method Detail

getValue

public Object getValue(IlvMapFeature feature)
Returns a value for the specified map feature. It returns the value of the attribute associated with this filter, if any. Null otherwise.

Overrides:
getValue in class IlvHierarchicalDataSource.SingleAttributeFilter
Parameters:
feature - the specified map feature.
Returns:
the value for the specified map feature.

write

public void write(IlvOutputStream stream)
           throws IOException
Writes this filter to a IlvOutputStream

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvHierarchicalDataSource.SingleAttributeFilter
Parameters:
stream - The stream to write to.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.