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

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

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

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="boundary noun phrase"/>
     <enumeration value="boundary noun phrase main"/>
     <enumeration value="boundary verb phrase main"/>
     <enumeration value="intermediary noun phrase"/>
     <enumeration value="intermediary noun phrase main"/>
     <enumeration value="intermediary verb phrase"/>
     <enumeration value="other"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BOUNDARY_NOUN_PHRASE
           
BOUNDARY_NOUN_PHRASE_MAIN
           
BOUNDARY_VERB_PHRASE_MAIN
           
INTERMEDIARY_NOUN_PHRASE
           
INTERMEDIARY_NOUN_PHRASE_MAIN
           
INTERMEDIARY_VERB_PHRASE
           
OTHER
           
 
Method Summary
static TagMask.ChunkFunction fromValue(String v)
           
 String value()
           
static TagMask.ChunkFunction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TagMask.ChunkFunction[] 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

BOUNDARY_NOUN_PHRASE

public static final TagMask.ChunkFunction BOUNDARY_NOUN_PHRASE

BOUNDARY_NOUN_PHRASE_MAIN

public static final TagMask.ChunkFunction BOUNDARY_NOUN_PHRASE_MAIN

BOUNDARY_VERB_PHRASE_MAIN

public static final TagMask.ChunkFunction BOUNDARY_VERB_PHRASE_MAIN

INTERMEDIARY_NOUN_PHRASE

public static final TagMask.ChunkFunction INTERMEDIARY_NOUN_PHRASE

INTERMEDIARY_NOUN_PHRASE_MAIN

public static final TagMask.ChunkFunction INTERMEDIARY_NOUN_PHRASE_MAIN

INTERMEDIARY_VERB_PHRASE

public static final TagMask.ChunkFunction INTERMEDIARY_VERB_PHRASE

OTHER

public static final TagMask.ChunkFunction OTHER
Method Detail

values

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


Copyright © 2012-2013 CoGrOO. All Rights Reserved.