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

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

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

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="noun"/>
     <enumeration value="noun adjective"/>
     <enumeration value="proper noun"/>
     <enumeration value="personal pronoun"/>
     <enumeration value="pronoun"/>
     <enumeration value="article"/>
     <enumeration value="adjective"/>
     <enumeration value="adverb"/>
     <enumeration value="infinitive verb"/>
     <enumeration value="numeral"/>
     <enumeration value="subordinating conjunction"/>
     <enumeration value="coordinating conjunction"/>
     <enumeration value="interjection"/>
     <enumeration value="prefix"/>
     <enumeration value="preposition"/>
     <enumeration value="punctuation mark"/>
     <enumeration value="finitive verb"/>
     <enumeration value="participle verb"/>
     <enumeration value="gerund verb"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ADJECTIVE
           
ADVERB
           
ARTICLE
           
COORDINATING_CONJUNCTION
           
FINITIVE_VERB
           
GERUND_VERB
           
INFINITIVE_VERB
           
INTERJECTION
           
NOUN
           
NOUN_ADJECTIVE
           
NUMERAL
           
PARTICIPLE_VERB
           
PERSONAL_PRONOUN
           
PREFIX
           
PREPOSITION
           
PRONOUN
           
PROPER_NOUN
           
PUNCTUATION_MARK
           
SUBORDINATING_CONJUNCTION
           
 
Method Summary
static TagMask.Class fromValue(String v)
           
 String value()
           
static TagMask.Class valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TagMask.Class[] 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

NOUN

public static final TagMask.Class NOUN

NOUN_ADJECTIVE

public static final TagMask.Class NOUN_ADJECTIVE

PROPER_NOUN

public static final TagMask.Class PROPER_NOUN

PERSONAL_PRONOUN

public static final TagMask.Class PERSONAL_PRONOUN

PRONOUN

public static final TagMask.Class PRONOUN

ARTICLE

public static final TagMask.Class ARTICLE

ADJECTIVE

public static final TagMask.Class ADJECTIVE

ADVERB

public static final TagMask.Class ADVERB

INFINITIVE_VERB

public static final TagMask.Class INFINITIVE_VERB

NUMERAL

public static final TagMask.Class NUMERAL

SUBORDINATING_CONJUNCTION

public static final TagMask.Class SUBORDINATING_CONJUNCTION

COORDINATING_CONJUNCTION

public static final TagMask.Class COORDINATING_CONJUNCTION

INTERJECTION

public static final TagMask.Class INTERJECTION

PREFIX

public static final TagMask.Class PREFIX

PREPOSITION

public static final TagMask.Class PREPOSITION

PUNCTUATION_MARK

public static final TagMask.Class PUNCTUATION_MARK

FINITIVE_VERB

public static final TagMask.Class FINITIVE_VERB

PARTICIPLE_VERB

public static final TagMask.Class PARTICIPLE_VERB

GERUND_VERB

public static final TagMask.Class GERUND_VERB
Method Detail

values

public static TagMask.Class[] 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.Class c : TagMask.Class.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.Class 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.Class fromValue(String v)


Copyright © 2012-2013 CoGrOO. All Rights Reserved.