public abstract class AbstractAccessParser extends Object implements TagParser
| Modifier and Type | Field and Description |
|---|---|
protected BooleanEncodedValue |
accessEnc |
protected Set<String> |
barriers |
protected Set<String> |
ferries |
protected Set<String> |
intendedValues |
protected Set<String> |
oneways |
protected Set<String> |
restrictedValues |
protected List<String> |
restrictions |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccessParser(BooleanEncodedValue accessEnc,
TransportationMode transportationMode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
blockFords(boolean blockFords) |
protected void |
blockPrivate(boolean blockPrivate) |
BooleanEncodedValue |
getAccessEnc() |
ConditionalTagInspector |
getConditionalTagInspector() |
String |
getName() |
List<String> |
getRestrictions() |
protected void |
handleNodeTags(IntsRef edgeFlags,
Map<String,Object> nodeTags)
Updates the given edge flags based on node tags
|
abstract void |
handleWayTags(IntsRef edgeFlags,
ReaderWay way) |
void |
handleWayTags(IntsRef edgeFlags,
ReaderWay way,
IntsRef relationFlags) |
AbstractAccessParser |
init(DateRangeParser dateRangeParser) |
boolean |
isBarrier(ReaderNode node) |
boolean |
isBlockFords() |
protected void |
setConditionalTagInspector(ConditionalTagInspector inspector) |
String |
toString() |
protected final BooleanEncodedValue accessEnc
protected AbstractAccessParser(BooleanEncodedValue accessEnc, TransportationMode transportationMode)
public AbstractAccessParser init(DateRangeParser dateRangeParser)
protected void setConditionalTagInspector(ConditionalTagInspector inspector)
public boolean isBlockFords()
protected void blockFords(boolean blockFords)
protected void blockPrivate(boolean blockPrivate)
public ConditionalTagInspector getConditionalTagInspector()
protected void handleNodeTags(IntsRef edgeFlags, Map<String,Object> nodeTags)
public void handleWayTags(IntsRef edgeFlags, ReaderWay way, IntsRef relationFlags)
handleWayTags in interface TagParserpublic boolean isBarrier(ReaderNode node)
public final BooleanEncodedValue getAccessEnc()
public final String getName()
Copyright © 2012–2023. All rights reserved.