de.danielnaber.languagetool
Enum JLanguageTool.paragraphHandling

Object
  extended by Enum<JLanguageTool.paragraphHandling>
      extended by JLanguageTool.paragraphHandling
All Implemented Interfaces:
Serializable, Comparable<JLanguageTool.paragraphHandling>
Enclosing class:
JLanguageTool

public static enum JLanguageTool.paragraphHandling
extends Enum<JLanguageTool.paragraphHandling>

Constants for correct paragraph-rule handling.


Enum Constant Summary
NORMAL
          Handle normally - all kinds of rules run.
ONLYNONPARA
          Run only sentence-level rules.
ONLYPARA
          Run only paragraph-level rules.
 
Method Summary
static JLanguageTool.paragraphHandling valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JLanguageTool.paragraphHandling[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL

public static final JLanguageTool.paragraphHandling NORMAL
Handle normally - all kinds of rules run.


ONLYPARA

public static final JLanguageTool.paragraphHandling ONLYPARA
Run only paragraph-level rules.


ONLYNONPARA

public static final JLanguageTool.paragraphHandling ONLYNONPARA
Run only sentence-level rules.

Method Detail

values

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

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

valueOf

public static JLanguageTool.paragraphHandling 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
NullPointerException - if the argument is null


Copyright © 2005-2009 Daniel Naber