public final class TextElementFilter extends AbstractTextFilter
inverted
Constructor and Description |
---|
TextElementFilter(TextElementType textElement) |
Modifier and Type | Method and Description |
---|---|
TextContainer |
filterText(TextContainer text)
Returns the tokenized text with the filtered tokens removed.
|
TextElementType |
getTextElement() |
boolean |
isTokenFilter()
Returns true if filter can be applied to tokenized text.
|
filterText, isInverted, isStringFilter, setInverted
public TextElementFilter(TextElementType textElement)
public TextElementType getTextElement()
public boolean isTokenFilter()
TextFilter
isTokenFilter
in interface TextFilter
isTokenFilter
in class AbstractTextFilter
public TextContainer filterText(TextContainer text)
TextFilter
filterText
in interface TextFilter
filterText
in class AbstractTextFilter
text
- the tokenized text to filterCopyright © 2015 Actian Corporation. All Rights Reserved.