|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlagsAttribute
This attribute can be used to pass different flags down the Tokenizer
chain,
e.g. from one TokenFilter to another one.
This is completely distinct from TypeAttribute
, although they do share similar purposes.
The flags can be used to encode information about the token for use by other
TokenFilter
s.
Method Summary | |
---|---|
int |
getFlags()
Get the bitset for any bits that have been set. |
void |
setFlags(int flags)
Set the flags to a new bitset. |
Method Detail |
---|
int getFlags()
getFlags()
void setFlags(int flags)
getFlags()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |