PartOfSpeechAttributeImpl (Lucene 3.6.2 API)
Keywords: org.apache.lucene.analysis.ja.tokenattributes.PartOfSpeechAttributeImpl class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.apache.lucene.util.AttributeImpl
`enableBackwards`

Constructor Summary
`PartOfSpeechAttributeImpl()`

Method Summary
`void` | `clear()`
`void` | `copyTo(org.apache.lucene.util.AttributeImpl target)`
`String` | `getPartOfSpeech()`
`void` | `reflectWith(org.apache.lucene.util.AttributeReflector reflector)`
`void` | `setToken(Token token)`

Methods inherited from class org.apache.lucene.util.AttributeImpl
`clone, reflectAsString, toString`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PartOfSpeechAttributeImpl

    public PartOfSpeechAttributeImpl()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD