public static interface TokenStream.Tokenizer
TokenStream.CharacterStream
and constructing
the appropriate TokenStream.Token
objects.Modifier and Type | Method and Description |
---|---|
void |
tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens)
Process the supplied characters and construct the appropriate
TokenStream.Token objects. |
void tokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens) throws ParsingException
TokenStream.Token
objects.input
- the character input stream; never nulltokens
- the factory for TokenStream.Token
objects, which records the order in which the tokens are createdParsingException
- if there is an error while processing the character stream (e.g., a quote is not closed, etc.)Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.