public interface KeywordAttribute extends Attribute
TokenStreams can decide to modify a token based on the return value
 of isKeyword() if the token is modified. Stemming filters for
 instance can use this attribute to conditionally skip a term if
 isKeyword() returns true.| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isKeyword()
Returns  
true if the current token is a keyword, otherwise
 false | 
void | 
setKeyword(boolean isKeyword)
Marks the current token as keyword if set to  
true. | 
boolean isKeyword()
true if the current token is a keyword, otherwise
 falsetrue if the current token is a keyword, otherwise
         falsesetKeyword(boolean)void setKeyword(boolean isKeyword)
true.isKeyword - true if the current token is a keyword, otherwise
          false.isKeyword()Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.