class TokenStream {

    public String consume() throws ParsingException, IllegalStateException {
        if (completed) {
            throwNoMoreContent();
        }
        // Get the value from the current token ...
        String result = currentToken().value();
        moveToNextToken();
        return result;
    }

    public  TokenStream(String content,
                       Tokenizer tokenizer,
                       boolean caseSensitive);

}