public class CompositeStreetTraversalPermissionConverter extends Object implements SimpleFeatureConverter<P2<StreetTraversalPermission>>
Constructor and Description |
---|
CompositeStreetTraversalPermissionConverter() |
Modifier and Type | Method and Description |
---|---|
void |
add(SimpleFeatureConverter<P2<StreetTraversalPermission>> converter)
add a converter to the list to be applied
|
P2<StreetTraversalPermission> |
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<P2<StreetTraversalPermission>>> converters)
set the list of converters used to the passed in parameter
|
void |
setOrPermissions(boolean orPermissions) |
public CompositeStreetTraversalPermissionConverter()
public boolean isOrPermissions()
public void setOrPermissions(boolean orPermissions)
public void setConverters(Collection<SimpleFeatureConverter<P2<StreetTraversalPermission>>> converters)
converters
- list of converters to usepublic P2<StreetTraversalPermission> convert(org.opengis.feature.simple.SimpleFeature feature)
convert
in interface SimpleFeatureConverter<P2<StreetTraversalPermission>>
public void add(SimpleFeatureConverter<P2<StreetTraversalPermission>> converter)
converter
- the new converterCopyright © 2018. All rights reserved.