mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
Add HSL provider, covering Helsinki.
This commit is contained in:
parent
e78e6bdf73
commit
9410a4077a
5 changed files with 966 additions and 0 deletions
|
@ -231,6 +231,22 @@ public final class XmlPullUtil
|
|||
}
|
||||
}
|
||||
|
||||
public static void skipUntil(final XmlPullParser pp, final String tagName) throws XmlPullParserException, IOException
|
||||
{
|
||||
while (!XmlPullUtil.test(pp, tagName))
|
||||
{
|
||||
if (!pp.isEmptyElementTag())
|
||||
{
|
||||
XmlPullUtil.enter(pp);
|
||||
XmlPullUtil.skipExit(pp);
|
||||
}
|
||||
else
|
||||
{
|
||||
XmlPullUtil.next(pp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Read text content of element ith given namespace and name (use null namespace do indicate that nemspace should
|
||||
* not be checked)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue