org.apache.lucene.analysis.ja.tokenattributes
Class ReadingAttributeImpl

java.lang.Object
  extended by org.apache.lucene.util.AttributeImpl
      extended by org.apache.lucene.analysis.ja.tokenattributes.ReadingAttributeImpl
All Implemented Interfaces:
Cloneable, ReadingAttribute, Attribute

public class ReadingAttributeImpl
extends AttributeImpl
implements ReadingAttribute, Cloneable

Attribute for Kuromoji reading data


Constructor Summary
ReadingAttributeImpl()
           
 
Method Summary
 void clear()
           
 void copyTo(AttributeImpl target)
           
 String getPronunciation()
           
 String getReading()
           
 void reflectWith(AttributeReflector reflector)
           
 void setToken(Token token)
           
 
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, reflectAsString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadingAttributeImpl

public ReadingAttributeImpl()
Method Detail

getReading

public String getReading()
Specified by:
getReading in interface ReadingAttribute

getPronunciation

public String getPronunciation()
Specified by:
getPronunciation in interface ReadingAttribute

setToken

public void setToken(Token token)
Specified by:
setToken in interface ReadingAttribute

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-2013 Apache Software Foundation. All Rights Reserved.