public class CompositeBooleanConverter extends Object implements SimpleFeatureConverter<Boolean>
Constructor and Description |
---|
CompositeBooleanConverter() |
CompositeBooleanConverter(SimpleFeatureConverter<Boolean>... converters) |
Modifier and Type | Method and Description |
---|---|
void |
add(SimpleFeatureConverter<Boolean> converter)
add a converter to the list to be applied
|
Boolean |
convert(org.opengis.feature.simple.SimpleFeature feature)
use the permission combination strategy to combine the results of the list of converters
|
boolean |
isOrPermissions()
Is the or combination strategy being used?
|
void |
setConverters(Collection<SimpleFeatureConverter<Boolean>> converters)
set the list of converters used to the passed in parameter
|
void |
setOrPermissions(boolean orPermissions) |
public CompositeBooleanConverter()
public CompositeBooleanConverter(SimpleFeatureConverter<Boolean>... converters)
public boolean isOrPermissions()
public void setOrPermissions(boolean orPermissions)
public void setConverters(Collection<SimpleFeatureConverter<Boolean>> converters)
converters
- list of converters to usepublic Boolean convert(org.opengis.feature.simple.SimpleFeature feature)
convert
in interface SimpleFeatureConverter<Boolean>
public void add(SimpleFeatureConverter<Boolean> converter)
converter
- the new converterCopyright © 2018. All rights reserved.