public interface FlagsAttribute extends Attribute
Tokenizer
chain,
eg from one TokenFilter to another one.Modifier and Type | Method and Description |
---|---|
int |
getFlags()
Get the bitset for any bits that have been set.
|
void |
setFlags(int flags) |
int getFlags()
TypeAttribute.type()
, although they do share similar purposes.
The flags can be used to encode information about the token for use by other TokenFilter
s.void setFlags(int flags)
getFlags()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.