org.compass.annotations
Enum SnowballType

java.lang.Object
  extended by java.lang.Enum<SnowballType>
      extended by org.compass.annotations.SnowballType
All Implemented Interfaces:
Serializable, Comparable<SnowballType>

public enum SnowballType
extends Enum<SnowballType>

The type of the snowball analyzer.

Author:
kimchy
See Also:
SearchAnalyzer.snowballType()

Enum Constant Summary
Danish
           
Dutch
           
English
           
Finnish
           
French
           
German
           
German2
           
Italian
           
Kp
           
Lovins
           
Norwegian
           
Porter
           
Portuguese
           
Russian
           
Spanish
           
Swedish
           
 
Method Summary
static SnowballType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SnowballType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Danish

public static final SnowballType Danish

Dutch

public static final SnowballType Dutch

English

public static final SnowballType English

Finnish

public static final SnowballType Finnish

French

public static final SnowballType French

German

public static final SnowballType German

German2

public static final SnowballType German2

Italian

public static final SnowballType Italian

Kp

public static final SnowballType Kp

Lovins

public static final SnowballType Lovins

Norwegian

public static final SnowballType Norwegian

Porter

public static final SnowballType Porter

Portuguese

public static final SnowballType Portuguese

Russian

public static final SnowballType Russian

Spanish

public static final SnowballType Spanish

Swedish

public static final SnowballType Swedish
Method Detail

values

public static final SnowballType[] 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(SnowballType c : SnowballType.values())
        System.out.println(c);

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

valueOf

public static SnowballType 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 (c) 2004-2009 The Compass Project.