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

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

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

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="subject"/>
     <enumeration value="verb"/>
     <enumeration value="indirect object"/>
     <enumeration value="direct object"/>
     <enumeration value="subject predicative"/>
     <enumeration value="subject predicative"/>
     <enumeration value="identifying apposition"/>
     <enumeration value="adverbial adjunct"/>
     <enumeration value="none"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ADVERBIAL_ADJUNCT
           
DIRECT_OBJECT
           
IDENTIFYING_APPOSITION
           
INDIRECT_OBJECT
           
NONE
           
SUBJECT
           
SUBJECT_PREDICATIVE
           
VERB
           
 
Method Summary
static TagMask.SyntacticFunction fromValue(String v)
           
 String value()
           
static TagMask.SyntacticFunction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TagMask.SyntacticFunction[] 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

SUBJECT

public static final TagMask.SyntacticFunction SUBJECT

VERB

public static final TagMask.SyntacticFunction VERB

INDIRECT_OBJECT

public static final TagMask.SyntacticFunction INDIRECT_OBJECT

DIRECT_OBJECT

public static final TagMask.SyntacticFunction DIRECT_OBJECT

SUBJECT_PREDICATIVE

public static final TagMask.SyntacticFunction SUBJECT_PREDICATIVE

IDENTIFYING_APPOSITION

public static final TagMask.SyntacticFunction IDENTIFYING_APPOSITION

ADVERBIAL_ADJUNCT

public static final TagMask.SyntacticFunction ADVERBIAL_ADJUNCT

NONE

public static final TagMask.SyntacticFunction NONE
Method Detail

values

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


Copyright © 2012-2013 CoGrOO. All Rights Reserved.