public final class CannedTokenStream extends TokenStream
AttributeSource.AttributeFactory, AttributeSource.State
Constructor and Description |
---|
CannedTokenStream(Token... tokens) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
public CannedTokenStream(Token... tokens)
public boolean incrementToken()
incrementToken
in class TokenStream
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.