org.apache.lucene.analysis.compound
Class CompoundWordTokenFilterBase.CompoundToken

java.lang.Object
  extended by org.apache.lucene.analysis.compound.CompoundWordTokenFilterBase.CompoundToken
Enclosing class:
CompoundWordTokenFilterBase

protected class CompoundWordTokenFilterBase.CompoundToken
extends Object

Helper class to hold decompounded token information


Field Summary
 int endOffset
           
 int startOffset
           
 CharSequence txt
           
 
Constructor Summary
CompoundWordTokenFilterBase.CompoundToken(int offset, int length)
          Construct the compound token based on a slice of the current CompoundWordTokenFilterBase.termAtt.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txt

public final CharSequence txt

startOffset

public final int startOffset

endOffset

public final int endOffset
Constructor Detail

CompoundWordTokenFilterBase.CompoundToken

public CompoundWordTokenFilterBase.CompoundToken(int offset,
                                                 int length)
Construct the compound token based on a slice of the current CompoundWordTokenFilterBase.termAtt.



Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.