org.activemath.omdocjdom.index.analysis
Class OMDocMicroStructureTokenStream

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.activemath.omdocjdom.index.analysis.OMDocMicroStructureTokenStream

public class OMDocMicroStructureTokenStream
extends org.apache.lucene.analysis.TokenStream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
Field Summary
static String CVS_ID
           
 
Constructor Summary
OMDocMicroStructureTokenStream(List cmps, org.apache.lucene.analysis.Analyzer plainTextAnalyzer, String lang, boolean doMath)
           
 
Method Summary
static void main(String[] args)
           
 org.apache.lucene.analysis.Token next()
           
 org.apache.lucene.analysis.Token nextToken()
           
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
close, end, getOnlyUseNewAPI, incrementToken, next, reset, setOnlyUseNewAPI
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CVS_ID

public static final String CVS_ID
See Also:
Constant Field Values
Constructor Detail

OMDocMicroStructureTokenStream

public OMDocMicroStructureTokenStream(List cmps,
                                      org.apache.lucene.analysis.Analyzer plainTextAnalyzer,
                                      String lang,
                                      boolean doMath)
Method Detail

next

public org.apache.lucene.analysis.Token next()
                                      throws IOException
Overrides:
next in class org.apache.lucene.analysis.TokenStream
Throws:
IOException

nextToken

public org.apache.lucene.analysis.Token nextToken()
                                           throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception