public class PatternTypingFilter extends TokenFilter
PatternTypingFilterFactory
for full documentation.PatternTypingFilterFactory
Modifier and Type | Class and Description |
---|---|
static class |
PatternTypingFilter.PatternTypingRule
Value holding class for pattern typing rules.
|
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
PatternTypingFilter(TokenStream input,
PatternTypingFilter.PatternTypingRule... replacementAndFlagByPattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public PatternTypingFilter(TokenStream input, PatternTypingFilter.PatternTypingRule... replacementAndFlagByPattern)
public final boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.