org.apache.uima.lucas.indexer.analysis
Class AdditionFilter

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.analysis.TokenFilter
              extended by org.apache.uima.lucas.indexer.analysis.AdditionFilter

public class AdditionFilter
extends org.apache.lucene.analysis.TokenFilter


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 Integer POSTFIX
           
static Integer PREFIX
           
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
AdditionFilter(org.apache.lucene.analysis.TokenStream input, String addition, Integer position)
           
 
Method Summary
 String getAddition()
           
 Integer getPosition()
           
 org.apache.lucene.analysis.Token next(org.apache.lucene.analysis.Token aToken)
           
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close, end, reset
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
getOnlyUseNewAPI, incrementToken, next, 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

PREFIX

public static final Integer PREFIX

POSTFIX

public static final Integer POSTFIX
Constructor Detail

AdditionFilter

public AdditionFilter(org.apache.lucene.analysis.TokenStream input,
                      String addition,
                      Integer position)
Method Detail

next

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

getPosition

public Integer getPosition()

getAddition

public String getAddition()


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.