com.basistech.rlp.lucene
Enum RLPTokenizer.PostType

java.lang.Object
  extended by java.lang.Enum<RLPTokenizer.PostType>
      extended by com.basistech.rlp.lucene.RLPTokenizer.PostType
All Implemented Interfaces:
Serializable, Comparable<RLPTokenizer.PostType>
Enclosing class:
RLPTokenizer

public static enum RLPTokenizer.PostType
extends Enum<RLPTokenizer.PostType>

This enum is used to specify a set of result types that this Tokenizer will use, in the form of EnumSet<PostType>.


Enum Constant Summary
COMP
           
LEMMA
           
M1NORM
           
NORM
           
POS
           
READING
           
ROOT
           
STEM
           
WORD
           
 
Method Summary
static RLPTokenizer.PostType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RLPTokenizer.PostType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WORD

public static final RLPTokenizer.PostType WORD

NORM

public static final RLPTokenizer.PostType NORM

M1NORM

public static final RLPTokenizer.PostType M1NORM

LEMMA

public static final RLPTokenizer.PostType LEMMA

STEM

public static final RLPTokenizer.PostType STEM

POS

public static final RLPTokenizer.PostType POS

COMP

public static final RLPTokenizer.PostType COMP

READING

public static final RLPTokenizer.PostType READING

ROOT

public static final RLPTokenizer.PostType ROOT
Method Detail

values

public static final RLPTokenizer.PostType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RLPTokenizer.PostType c : RLPTokenizer.PostType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RLPTokenizer.PostType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2007-2008 Basis Technology Corporation. All Rights Reserved.