org.cogroo.tools.checker.rules.model
Enum TagMask.Tense

java.lang.Object
  extended by java.lang.Enum<TagMask.Tense>
      extended by org.cogroo.tools.checker.rules.model.TagMask.Tense
All Implemented Interfaces:
Serializable, Comparable<TagMask.Tense>
Enclosing class:
TagMask

public static enum TagMask.Tense
extends Enum<TagMask.Tense>

Java class for null.

The following schema fragment specifies the expected content contained within this class.

 <simpleType>
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="present"/>
     <enumeration value="preterito imperfeito"/>
     <enumeration value="preterito perfeito"/>
     <enumeration value="preterito mais-que-perfeito"/>
     <enumeration value="future"/>
     <enumeration value="conditional"/>
     <enumeration value="preterito perfeito-mais-que-perfeito"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CONDITIONAL
           
FUTURE
           
PRESENT
           
PRETERITO_IMPERFEITO
           
PRETERITO_MAIS_QUE_PERFEITO
           
PRETERITO_PERFEITO
           
PRETERITO_PERFEITO_MAIS_QUE_PERFEITO
           
 
Method Summary
static TagMask.Tense fromValue(String v)
           
 String value()
           
static TagMask.Tense valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TagMask.Tense[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

PRESENT

public static final TagMask.Tense PRESENT

PRETERITO_IMPERFEITO

public static final TagMask.Tense PRETERITO_IMPERFEITO

PRETERITO_PERFEITO

public static final TagMask.Tense PRETERITO_PERFEITO

PRETERITO_MAIS_QUE_PERFEITO

public static final TagMask.Tense PRETERITO_MAIS_QUE_PERFEITO

FUTURE

public static final TagMask.Tense FUTURE

CONDITIONAL

public static final TagMask.Tense CONDITIONAL

PRETERITO_PERFEITO_MAIS_QUE_PERFEITO

public static final TagMask.Tense PRETERITO_PERFEITO_MAIS_QUE_PERFEITO
Method Detail

values

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

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

valueOf

public static TagMask.Tense 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

value

public String value()

fromValue

public static TagMask.Tense fromValue(String v)


Copyright © 2012-2013 CoGrOO. All Rights Reserved.