org.apache.lucene.analysis.ja.tokenattributes
Class PartOfSpeechAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.ja.tokenattributes.PartOfSpeechAttributeImpl
- All Implemented Interfaces:
- Serializable, Cloneable, PartOfSpeechAttribute, org.apache.lucene.util.Attribute
public class PartOfSpeechAttributeImpl
- extends org.apache.lucene.util.AttributeImpl
- implements PartOfSpeechAttribute, Cloneable
Attribute for Token.getPartOfSpeech()
.
- See Also:
- Serialized Form
Fields inherited from class org.apache.lucene.util.AttributeImpl |
enableBackwards |
Methods inherited from class org.apache.lucene.util.AttributeImpl |
clone, reflectAsString, toString |
PartOfSpeechAttributeImpl
public PartOfSpeechAttributeImpl()
getPartOfSpeech
public String getPartOfSpeech()
- Specified by:
getPartOfSpeech
in interface PartOfSpeechAttribute
setToken
public void setToken(Token token)
- Specified by:
setToken
in interface PartOfSpeechAttribute
clear
public void clear()
- Specified by:
clear
in class org.apache.lucene.util.AttributeImpl
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyTo
in class org.apache.lucene.util.AttributeImpl
reflectWith
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
- Overrides:
reflectWith
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.