com.vgrs.xcode.idna
Enum CanonicalCombiningClass

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

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

Each assigned Unicode code point has a canonical combining class property. This enum currently defines one canonical combining class i.e. VIRAMA which has a canonical combining class value of 9. This is used in some of the contextual rules.

Version:
1.0 May 5, 2010
Author:
nchigurupati

Enum Constant Summary
VIRAMA
          VIRAMA has a canonical combining class value of 9.
 
Method Summary
static CanonicalCombiningClass findCanonicalCombiningClass(int aCanonicalCombiningClass)
          Utility method to find the canonical combining class for a given int value.
 int getCanonicalCombiningClass()
           
static CanonicalCombiningClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CanonicalCombiningClass[] 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

VIRAMA

public static final CanonicalCombiningClass VIRAMA
VIRAMA has a canonical combining class value of 9.

Method Detail

values

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

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

valueOf

public static CanonicalCombiningClass 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

getCanonicalCombiningClass

public int getCanonicalCombiningClass()
Returns:
the canonical combining class value.

findCanonicalCombiningClass

public static CanonicalCombiningClass findCanonicalCombiningClass(int aCanonicalCombiningClass)
Utility method to find the canonical combining class for a given int value.

Parameters:
aCanonicalCombiningClass -
Returns:
the CanonicalCombiningClass for the given int value.


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved