com.vgrs.xcode.common.unicodedata
Enum UnicodeCodePointCategory

java.lang.Object
  extended by java.lang.Enum<UnicodeCodePointCategory>
      extended by com.vgrs.xcode.common.unicodedata.UnicodeCodePointCategory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UnicodeCodePointCategory>

public enum UnicodeCodePointCategory
extends java.lang.Enum<UnicodeCodePointCategory>

Enum for the derived property value of Unicode code points as specified in the IDNA2008 Protocol.

Version:
1.0 Jun 10, 2010
Author:
nchigurupati

Enum Constant Summary
CONTEXTJ
           
CONTEXTO
           
DISALLOWED
           
PVALID
           
UNASSIGNED
           
 
Method Summary
static UnicodeCodePointCategory getUnicodeCodePointCategory(java.lang.String aCategory)
          Utility method to find a UnicodeCategory based on the given string input.
static UnicodeCodePointCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UnicodeCodePointCategory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DISALLOWED

public static final UnicodeCodePointCategory DISALLOWED

UNASSIGNED

public static final UnicodeCodePointCategory UNASSIGNED

PVALID

public static final UnicodeCodePointCategory PVALID

CONTEXTO

public static final UnicodeCodePointCategory CONTEXTO

CONTEXTJ

public static final UnicodeCodePointCategory CONTEXTJ
Method Detail

values

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

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

valueOf

public static UnicodeCodePointCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getUnicodeCodePointCategory

public static UnicodeCodePointCategory getUnicodeCodePointCategory(java.lang.String aCategory)
Utility method to find a UnicodeCategory based on the given string input.

Parameters:
aCategory - The string representation of the Unicode category.
Returns:
the UnicodeCodePointCategories or null if not found.


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved