MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.sms.ftstore
Class PhraseIterator

java.lang.Object
  extended by ch.ethz.mxquery.sms.ftstore.PhraseIterator

public class PhraseIterator
extends java.lang.Object

Helper iterator (over phrases)


Field Summary
static int FLAT_PHRASE
           
static int NESTED_PHRASE
           
 
Constructor Summary
PhraseIterator(java.util.Vector tokens, int type)
           
 
Method Summary
 int getNumberOfElements()
           
 int getType()
           
 boolean hasNext()
           
 FTToken next()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAT_PHRASE

public static final int FLAT_PHRASE
See Also:
Constant Field Values

NESTED_PHRASE

public static final int NESTED_PHRASE
See Also:
Constant Field Values
Constructor Detail

PhraseIterator

public PhraseIterator(java.util.Vector tokens,
                      int type)
Method Detail

next

public FTToken next()
             throws MXQueryException
Throws:
MXQueryException

reset

public void reset()

hasNext

public boolean hasNext()

getNumberOfElements

public int getNumberOfElements()

getType

public int getType()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich