java.text
Class SpecialMapping

java.lang.Object
  extended byjava.text.SpecialMapping

final class SpecialMapping
extends Object

This class represents exceptions to the normal unicode category mapping provided by Character. It is internal only. It represents a range of characters that don't follow the category mapping.


Field Summary
 char endChar
          The last character in the exception range
 int newValue
          The category for characters in the range
 char startChar
          The first character in exception range
 
Constructor Summary
SpecialMapping(char startChar, char endChar, int newValue)
          Construct a mapping for a range of characters
SpecialMapping(char ch, int newValue)
          Construct a mapping for a single character
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startChar

public char startChar
The first character in exception range


endChar

public char endChar
The last character in the exception range


newValue

public int newValue
The category for characters in the range

Constructor Detail

SpecialMapping

public SpecialMapping(char ch,
                      int newValue)
Construct a mapping for a single character

Parameters:
ch - the character
newValue - the new category for the character

SpecialMapping

public SpecialMapping(char startChar,
                      char endChar,
                      int newValue)
Construct a mapping for a range of characters

Parameters:
startChar - the first character in the range
endChar - the last character in the range
newValue - the category for the range