public interface TransitionHandler
Modifier and Type | Method and Description |
---|---|
void |
transition(int from,
int to,
boolean reconsume,
int pos)
This method is called for every tokenizer state transition.
|
void transition(int from, int to, boolean reconsume, int pos) throws SAXException
from
- the state the tokenizer is transitioning fromto
- the state being transitioned toreconsume
- true
if the current input character is going to
be reconsumed in the new statepos
- the current index into the input streamSAXException
- if something went wrongCopyright © 2017. All rights reserved.