public class CategoryTokenizer extends CategoryTokenizerBase
CharTermAttribute
s and
PayloadAttribute
s of category tokens.AttributeSource.AttributeFactory, AttributeSource.State
categoryAttribute, indexingParams, payload, payloadAttribute, termAttribute
input
Constructor and Description |
---|
CategoryTokenizer(TokenStream input,
FacetIndexingParams indexingParams) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
protected void |
setPayload()
Set the payload of the current category token.
|
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
public CategoryTokenizer(TokenStream input, FacetIndexingParams indexingParams)
public final boolean incrementToken() throws IOException
incrementToken
in class CategoryTokenizerBase
IOException
protected void setPayload()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.