- All Superinterfaces:
- ContentHandler<RuntimeException>,- ControlHandler<RuntimeException>,- TokenErrorHandler<RuntimeException>,- TokenHandler2,- TokenHandler3<RuntimeException>
A 
TokenHandler2 that is backwards-compatible with
 TokenProducer 1.x.
 
 You may consider using TokenHandler2 or TokenHandler3 instead.
 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcloseGroup(int index, int codePoint) Called when one of these codepoints is found: ), ], }default voidleftCurlyBracket(int index) Called when the{codepoint is found.default voidleftParenthesis(int index) Called when the(codepoint is found.default voidleftSquareBracket(int index) Called when the[codepoint is found.voidopenGroup(int index, int codePoint) Called when one of these codepoints is found: (, [, {default voidrightCurlyBracket(int index) Called when the}codepoint is found.default voidrightParenthesis(int index) Called when the)codepoint is found.default voidrightSquareBracket(int index) Called when the]codepoint is found.Methods inherited from interface io.sf.carte.uparser.TokenHandler2character, commented, control, endOfStream, endPunctuation, error, escaped, quoted, quotedNewlineChar, quotedWithControl, separator, startPunctuation, tokenStart, word
- 
Method Details- 
leftParenthesisdefault void leftParenthesis(int index) Description copied from interface:TokenHandler2Called when the(codepoint is found.- Specified by:
- leftParenthesisin interface- ContentHandler<RuntimeException>
- Specified by:
- leftParenthesisin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
leftSquareBracketdefault void leftSquareBracket(int index) Description copied from interface:TokenHandler2Called when the[codepoint is found.- Specified by:
- leftSquareBracketin interface- ContentHandler<RuntimeException>
- Specified by:
- leftSquareBracketin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
leftCurlyBracketdefault void leftCurlyBracket(int index) Description copied from interface:TokenHandler2Called when the{codepoint is found.- Specified by:
- leftCurlyBracketin interface- ContentHandler<RuntimeException>
- Specified by:
- leftCurlyBracketin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
rightParenthesisdefault void rightParenthesis(int index) Description copied from interface:TokenHandler2Called when the)codepoint is found.- Specified by:
- rightParenthesisin interface- ContentHandler<RuntimeException>
- Specified by:
- rightParenthesisin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
rightSquareBracketdefault void rightSquareBracket(int index) Description copied from interface:TokenHandler2Called when the]codepoint is found.- Specified by:
- rightSquareBracketin interface- ContentHandler<RuntimeException>
- Specified by:
- rightSquareBracketin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
rightCurlyBracketdefault void rightCurlyBracket(int index) Description copied from interface:TokenHandler2Called when the}codepoint is found.- Specified by:
- rightCurlyBracketin interface- ContentHandler<RuntimeException>
- Specified by:
- rightCurlyBracketin interface- TokenHandler2
- Parameters:
- index- the index at which the codepoint was found.
 
- 
openGroupvoid openGroup(int index, int codePoint) Called when one of these codepoints is found: (, [, {- Parameters:
- index- the index at which the codepoint was found.
- codePoint- the found codepoint.
 
- 
closeGroupvoid closeGroup(int index, int codePoint) Called when one of these codepoints is found: ), ], }- Parameters:
- index- the index at which the codepoint was found.
- codePoint- the found codepoint.
 
 
-