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:
- Cloneable, PartOfSpeechAttribute, Attribute
public class PartOfSpeechAttributeImpl
- extends AttributeImpl
- implements PartOfSpeechAttribute, Cloneable
Attribute for Token.getPartOfSpeech()
.
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 AttributeImpl
copyTo
public void copyTo(AttributeImpl target)
- Specified by:
copyTo
in class AttributeImpl
reflectWith
public void reflectWith(AttributeReflector reflector)
- Overrides:
reflectWith
in class AttributeImpl
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.