public final class KeywordAttributeImpl extends AttributeImpl implements KeywordAttribute
KeywordAttribute.| Constructor and Description | 
|---|
KeywordAttributeImpl()
Initialize this attribute with the keyword value as false. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Clears the values in this AttributeImpl and resets it to its 
 default value. 
 | 
void | 
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in
 target attribute. 
 | 
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
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. | 
clone, reflectAsString, reflectWithpublic KeywordAttributeImpl()
public void clear()
AttributeImplclear in class AttributeImplpublic void copyTo(AttributeImpl target)
AttributeImplcopyTo in class AttributeImplpublic boolean isKeyword()
KeywordAttributetrue if the current token is a keyword, otherwise
 falseisKeyword in interface KeywordAttributetrue if the current token is a keyword, otherwise
         falseKeywordAttribute.setKeyword(boolean)public void setKeyword(boolean isKeyword)
KeywordAttributetrue.setKeyword in interface KeywordAttributeisKeyword - true if the current token is a keyword, otherwise
          false.KeywordAttribute.isKeyword()Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.