org.metasyntactic.text.unicode
Class UnicodeCharacter

java.lang.Object
  |
  +--org.metasyntactic.text.unicode.UnicodeCharacter

public class UnicodeCharacter
extends java.lang.Object


Field Summary
static int ABOVE
           
static int ARABIC
           
static int ATTACHED
           
static int BELOW
           
static int BOUNDARY
           
static int CIRCLE
           
static int CLOSE
           
static int COMMON
           
static int COMPAT
           
static int CONNECTOR
           
static int CONTROL
           
static int CURRENCY
           
static int DASH
           
static int DECIMAL_DIGIT
           
static int DOUBLE
           
static int EMBEDDING
           
static int ENCLOSING
           
static int END_OF_FIXED_POSITION_CLASSES
           
static int EUROPEAN
           
static int FINAL
           
static int FINAL_QUOTE
           
static int FONT
           
static int FORMAT
           
static int FRACTION
           
static int HIRAGANA_KATAKANA_VOICING_MARKS
           
static int INITIAL
           
static int INITIAL_QUOTE
           
static int INTERIOR
           
static int IOTA_SUBSCRIPT
           
static int ISOLATED
           
static int LEFT
           
static int LEFT_TO_RIGHT
           
static int LETTER
           
static int LINE
           
static int LOWERCASE
           
static int MARK
           
static int MATH
           
static int MEDIAL
           
static int MODIFIER
           
static int NARROW
           
static int NEUTRAL
           
static int NOBREAK
           
static int NON_SPACING
           
static int NUKTAS
           
static int NUMBER
           
static int OPEN
           
static int OTHER
           
static int OVERLAYS
           
static int OVERRIDE
           
static int PARAGRAPH
           
static int POP_DIRECTIONAL_FORMAT
           
static int PRIVATE_USE
           
static int PUNCTUATION
           
static int REORDRANT
           
static int RIGHT
           
static int RIGHT_TO_LEFT
           
static int SEGMENT
           
static int SEPARATOR
           
static int SINGLE_BASE_CHARACTER
           
static int SMALL
           
static int SPACE
           
static int SPACING
           
static int SPACING_COMBINING
           
static int SPLIT
           
static int SQUARE
           
static int START_OF_FIXED_POSITION_CLASSES
           
static int SUB
           
static int SUPER
           
static int SURROGATE
           
static int SYMBOL
           
static int TERMINATOR
           
static int TIBETAN_SUBJOINED
           
static int TITLECASE
           
static int UPPERCASE
           
static int VERTICAL
           
static int VIRAMAS
           
static int WHITESPACE
           
static int WIDE
           
 
Constructor Summary
UnicodeCharacter(char codeValue, java.lang.String characterName, int generalCategory, int canonicalCombiningClasses, int bidirectionCategory, int characterDecompositionMapping, int decimalDigitValue, int digitValue, double numericValue, boolean mirrored, java.lang.String oldUnicodeName, java.lang.String ISOCommentField, char uppercaseMapping, char lowercaseMapping, char titlecaseMapping)
           
 
Method Summary
static java.lang.String charToHexString(char val)
           
 int getBidirectionCategory()
           
 int getCanonicalCombiningClasses()
           
 int getCharacterDecompositionMapping()
           
 java.lang.String getCharacterName()
           
 char getCodeValue()
           
 int getDecimalDigitValue()
           
 int getDigitValue()
           
 int getGeneralCategory()
           
 java.lang.String getISOCommentField()
           
 char getLowercaseMapping()
           
 boolean getMirrored()
           
 java.lang.String[] getNamesListComments()
           
 double getNumericValue()
           
 java.lang.String getOldUnicodeName()
           
 char getTitlecaseMapping()
           
 char getUppercaseMapping()
           
 boolean hasBidirectionCategory()
           
 boolean hasCanonicalCombiningClasses()
           
 boolean hasCharacterDecompositionMapping()
           
 boolean hasCharacterName()
           
 boolean hasCodeValue()
           
 boolean hasDecimalDigitValue()
           
 boolean hasDigitValue()
           
 boolean hasGeneralCategory()
           
 boolean hasISOCommentField()
           
 boolean hasLowercaseMapping()
           
 boolean hasMirrored()
           
 boolean hasNamesListComments()
           
 boolean hasNumericValue()
           
 boolean hasOldUnicodeName()
           
 boolean hasTitlecaseMapping()
           
 boolean hasUppercaseMapping()
           
static UnicodeCharacter newInstance(char value)
           
static UnicodeCharacter parse(java.lang.String data)
           
static UnicodeCharacter parse(java.lang.String[] tokens)
           
 void setNamesListComments(java.lang.String[] namesListComments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LETTER

public static final int LETTER
See Also:
Constant Field Values

NUMBER

public static final int NUMBER
See Also:
Constant Field Values

MARK

public static final int MARK
See Also:
Constant Field Values

SEPARATOR

public static final int SEPARATOR
See Also:
Constant Field Values

OTHER

public static final int OTHER
See Also:
Constant Field Values

NON_SPACING

public static final int NON_SPACING
See Also:
Constant Field Values

PARAGRAPH

public static final int PARAGRAPH
See Also:
Constant Field Values

ENCLOSING

public static final int ENCLOSING
See Also:
Constant Field Values

UPPERCASE

public static final int UPPERCASE
See Also:
Constant Field Values

LOWERCASE

public static final int LOWERCASE
See Also:
Constant Field Values

TITLECASE

public static final int TITLECASE
See Also:
Constant Field Values

SPACING_COMBINING

public static final int SPACING_COMBINING
See Also:
Constant Field Values

DECIMAL_DIGIT

public static final int DECIMAL_DIGIT
See Also:
Constant Field Values

SPACE

public static final int SPACE
See Also:
Constant Field Values

LINE

public static final int LINE
See Also:
Constant Field Values

CONTROL

public static final int CONTROL
See Also:
Constant Field Values

FORMAT

public static final int FORMAT
See Also:
Constant Field Values

SURROGATE

public static final int SURROGATE
See Also:
Constant Field Values

PRIVATE_USE

public static final int PRIVATE_USE
See Also:
Constant Field Values

MODIFIER

public static final int MODIFIER
See Also:
Constant Field Values

PUNCTUATION

public static final int PUNCTUATION
See Also:
Constant Field Values

CONNECTOR

public static final int CONNECTOR
See Also:
Constant Field Values

DASH

public static final int DASH
See Also:
Constant Field Values

OPEN

public static final int OPEN
See Also:
Constant Field Values

CLOSE

public static final int CLOSE
See Also:
Constant Field Values

INITIAL_QUOTE

public static final int INITIAL_QUOTE
See Also:
Constant Field Values

FINAL_QUOTE

public static final int FINAL_QUOTE
See Also:
Constant Field Values

SYMBOL

public static final int SYMBOL
See Also:
Constant Field Values

MATH

public static final int MATH
See Also:
Constant Field Values

CURRENCY

public static final int CURRENCY
See Also:
Constant Field Values

LEFT_TO_RIGHT

public static final int LEFT_TO_RIGHT
See Also:
Constant Field Values

EMBEDDING

public static final int EMBEDDING
See Also:
Constant Field Values

OVERRIDE

public static final int OVERRIDE
See Also:
Constant Field Values

RIGHT_TO_LEFT

public static final int RIGHT_TO_LEFT
See Also:
Constant Field Values

ARABIC

public static final int ARABIC
See Also:
Constant Field Values

POP_DIRECTIONAL_FORMAT

public static final int POP_DIRECTIONAL_FORMAT
See Also:
Constant Field Values

EUROPEAN

public static final int EUROPEAN
See Also:
Constant Field Values

TERMINATOR

public static final int TERMINATOR
See Also:
Constant Field Values

COMMON

public static final int COMMON
See Also:
Constant Field Values

NEUTRAL

public static final int NEUTRAL
See Also:
Constant Field Values

BOUNDARY

public static final int BOUNDARY
See Also:
Constant Field Values

SEGMENT

public static final int SEGMENT
See Also:
Constant Field Values

WHITESPACE

public static final int WHITESPACE
See Also:
Constant Field Values

FONT

public static final int FONT
See Also:
Constant Field Values

NOBREAK

public static final int NOBREAK
See Also:
Constant Field Values

INITIAL

public static final int INITIAL
See Also:
Constant Field Values

MEDIAL

public static final int MEDIAL
See Also:
Constant Field Values

FINAL

public static final int FINAL
See Also:
Constant Field Values

ISOLATED

public static final int ISOLATED
See Also:
Constant Field Values

CIRCLE

public static final int CIRCLE
See Also:
Constant Field Values

SUPER

public static final int SUPER
See Also:
Constant Field Values

SUB

public static final int SUB
See Also:
Constant Field Values

VERTICAL

public static final int VERTICAL
See Also:
Constant Field Values

WIDE

public static final int WIDE
See Also:
Constant Field Values

NARROW

public static final int NARROW
See Also:
Constant Field Values

SMALL

public static final int SMALL
See Also:
Constant Field Values

SQUARE

public static final int SQUARE
See Also:
Constant Field Values

FRACTION

public static final int FRACTION
See Also:
Constant Field Values

COMPAT

public static final int COMPAT
See Also:
Constant Field Values

SPACING

public static final int SPACING
See Also:
Constant Field Values

SPLIT

public static final int SPLIT
See Also:
Constant Field Values

REORDRANT

public static final int REORDRANT
See Also:
Constant Field Values

TIBETAN_SUBJOINED

public static final int TIBETAN_SUBJOINED
See Also:
Constant Field Values

OVERLAYS

public static final int OVERLAYS
See Also:
Constant Field Values

INTERIOR

public static final int INTERIOR
See Also:
Constant Field Values

NUKTAS

public static final int NUKTAS
See Also:
Constant Field Values

HIRAGANA_KATAKANA_VOICING_MARKS

public static final int HIRAGANA_KATAKANA_VOICING_MARKS
See Also:
Constant Field Values

VIRAMAS

public static final int VIRAMAS
See Also:
Constant Field Values

START_OF_FIXED_POSITION_CLASSES

public static final int START_OF_FIXED_POSITION_CLASSES
See Also:
Constant Field Values

END_OF_FIXED_POSITION_CLASSES

public static final int END_OF_FIXED_POSITION_CLASSES
See Also:
Constant Field Values

BELOW

public static final int BELOW
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

ATTACHED

public static final int ATTACHED
See Also:
Constant Field Values

SINGLE_BASE_CHARACTER

public static final int SINGLE_BASE_CHARACTER
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

ABOVE

public static final int ABOVE
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

IOTA_SUBSCRIPT

public static final int IOTA_SUBSCRIPT
See Also:
Constant Field Values
Constructor Detail

UnicodeCharacter

public UnicodeCharacter(char codeValue,
                        java.lang.String characterName,
                        int generalCategory,
                        int canonicalCombiningClasses,
                        int bidirectionCategory,
                        int characterDecompositionMapping,
                        int decimalDigitValue,
                        int digitValue,
                        double numericValue,
                        boolean mirrored,
                        java.lang.String oldUnicodeName,
                        java.lang.String ISOCommentField,
                        char uppercaseMapping,
                        char lowercaseMapping,
                        char titlecaseMapping)
Method Detail

parse

public static UnicodeCharacter parse(java.lang.String[] tokens)
                              throws ParseException
ParseException

newInstance

public static UnicodeCharacter newInstance(char value)
                                    throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException

charToHexString

public static java.lang.String charToHexString(char val)

parse

public static UnicodeCharacter parse(java.lang.String data)
                              throws ParseException
ParseException

getCodeValue

public char getCodeValue()

getCharacterName

public java.lang.String getCharacterName()

getGeneralCategory

public int getGeneralCategory()

getCanonicalCombiningClasses

public int getCanonicalCombiningClasses()

getBidirectionCategory

public int getBidirectionCategory()

getCharacterDecompositionMapping

public int getCharacterDecompositionMapping()

getDecimalDigitValue

public int getDecimalDigitValue()

getDigitValue

public int getDigitValue()

getNumericValue

public double getNumericValue()

getMirrored

public boolean getMirrored()

getOldUnicodeName

public java.lang.String getOldUnicodeName()

getISOCommentField

public java.lang.String getISOCommentField()

getUppercaseMapping

public char getUppercaseMapping()

getLowercaseMapping

public char getLowercaseMapping()

getTitlecaseMapping

public char getTitlecaseMapping()

getNamesListComments

public java.lang.String[] getNamesListComments()

setNamesListComments

public void setNamesListComments(java.lang.String[] namesListComments)

hasCodeValue

public boolean hasCodeValue()

hasCharacterName

public boolean hasCharacterName()

hasGeneralCategory

public boolean hasGeneralCategory()

hasCanonicalCombiningClasses

public boolean hasCanonicalCombiningClasses()

hasBidirectionCategory

public boolean hasBidirectionCategory()

hasCharacterDecompositionMapping

public boolean hasCharacterDecompositionMapping()

hasDecimalDigitValue

public boolean hasDecimalDigitValue()

hasDigitValue

public boolean hasDigitValue()

hasNumericValue

public boolean hasNumericValue()

hasMirrored

public boolean hasMirrored()

hasOldUnicodeName

public boolean hasOldUnicodeName()

hasISOCommentField

public boolean hasISOCommentField()

hasUppercaseMapping

public boolean hasUppercaseMapping()

hasLowercaseMapping

public boolean hasLowercaseMapping()

hasTitlecaseMapping

public boolean hasTitlecaseMapping()

hasNamesListComments

public boolean hasNamesListComments()