mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
wheelchair access in Brandenburg/Berlin
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@813 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
7db1140624
commit
afd0bc6a15
5 changed files with 21 additions and 12 deletions
|
@ -235,7 +235,7 @@ public class InvgProvider extends AbstractHafasProvider
|
|||
|
||||
final String lineType = mDepFine.group(3);
|
||||
|
||||
final Line line = parseLine(lineType, ParserUtils.resolveEntities(mDepFine.group(4)));
|
||||
final Line line = parseLine(lineType, ParserUtils.resolveEntities(mDepFine.group(4)), false);
|
||||
|
||||
final int destinationId = mDepFine.group(5) != null ? Integer.parseInt(mDepFine.group(5)) : 0;
|
||||
|
||||
|
@ -282,7 +282,7 @@ public class InvgProvider extends AbstractHafasProvider
|
|||
protected static final Pattern P_NORMALIZE_LINE_BUS_X = Pattern.compile("Bus\\s*X\\s*(\\d+)");
|
||||
|
||||
@Override
|
||||
protected Line parseLine(final String type, final String line)
|
||||
protected Line parseLine(final String type, final String line, final boolean wheelchairAccess)
|
||||
{
|
||||
if ("1".equals(type))
|
||||
{
|
||||
|
@ -315,7 +315,7 @@ public class InvgProvider extends AbstractHafasProvider
|
|||
}
|
||||
}
|
||||
|
||||
return super.parseLine(type, line);
|
||||
return super.parseLine(type, line, wheelchairAccess);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue