org.compass.core.lucene
Class LuceneToken

java.lang.Object
  extended by org.compass.core.lucene.LuceneToken
All Implemented Interfaces:
CompassToken

public class LuceneToken
extends Object
implements CompassToken

Author:
kimchy

Constructor Summary
LuceneToken(Token token)
           
 
Method Summary
 int getEndOffset()
           
 Token getLuceneToken()
           
 int getPositionIncrement()
           
 int getStartOffset()
           
 String getTermText()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LuceneToken

public LuceneToken(Token token)
Method Detail

getTermText

public String getTermText()
Specified by:
getTermText in interface CompassToken

getType

public String getType()
Specified by:
getType in interface CompassToken

getPositionIncrement

public int getPositionIncrement()
Specified by:
getPositionIncrement in interface CompassToken

getStartOffset

public int getStartOffset()
Specified by:
getStartOffset in interface CompassToken

getEndOffset

public int getEndOffset()
Specified by:
getEndOffset in interface CompassToken

getLuceneToken

public Token getLuceneToken()

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2009 The Compass Project.