Re: Questions.
"lrargerich" <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
--- In xmlpull-dev@y..., Stefan Haustein <haustein@k...> wrote: > > 3) Does the nextText method "eats" the current event passing the parser > > to the text event (or end_tag) or it just returns the next text > > content but the parser remains in its actual state? > > nextText "eats" the text; otherwise, the state would be inconsistent > for <tag></tag> vs. <tag>text</tag> > > Best, > Stefan So if you do a getType after nextText does it return TEXT or whatever is "next" to the text ? (ie: END_TAG or START_TAG, never TEXT because there won't be two TEXT events together)