au.id.pbw.hyfo.hyph
Enum HyphenationTreeBuilder.Element

java.lang.Object
  extended by java.lang.Enum<HyphenationTreeBuilder.Element>
      extended by au.id.pbw.hyfo.hyph.HyphenationTreeBuilder.Element
All Implemented Interfaces:
Serializable, Comparable<HyphenationTreeBuilder.Element>
Enclosing class:
HyphenationTreeBuilder

public static enum HyphenationTreeBuilder.Element
extends Enum<HyphenationTreeBuilder.Element>

An enum of the elements n a resource file.


Enum Constant Summary
break_minima
           
cl
           
classes
           
ex
           
exceptions
           
hyphen_char
           
hyphenation_data
          An element of a hyphenation resource file.
modifier
           
modifiers
           
mr
           
patterns
           
pt
           
 
Method Summary
static HyphenationTreeBuilder.Element valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HyphenationTreeBuilder.Element[] 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

hyphenation_data

public static final HyphenationTreeBuilder.Element hyphenation_data
An element of a hyphenation resource file.


break_minima

public static final HyphenationTreeBuilder.Element break_minima

hyphen_char

public static final HyphenationTreeBuilder.Element hyphen_char

classes

public static final HyphenationTreeBuilder.Element classes

cl

public static final HyphenationTreeBuilder.Element cl

modifiers

public static final HyphenationTreeBuilder.Element modifiers

modifier

public static final HyphenationTreeBuilder.Element modifier

mr

public static final HyphenationTreeBuilder.Element mr

exceptions

public static final HyphenationTreeBuilder.Element exceptions

ex

public static final HyphenationTreeBuilder.Element ex

patterns

public static final HyphenationTreeBuilder.Element patterns

pt

public static final HyphenationTreeBuilder.Element pt
Method Detail

values

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

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

valueOf

public static HyphenationTreeBuilder.Element 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 © 2005-2006 Peter B. West.