com.hp.hpl.jena.rdf.arp
Class CharacterModel

java.lang.Object
  extended bycom.hp.hpl.jena.rdf.arp.CharacterModel

public class CharacterModel
extends java.lang.Object

Some support for the Character Model Recommendation from the W3C (currently in second last call working draft).

Author:
Jeremy Carroll

Constructor Summary
CharacterModel()
           
 
Method Summary
static boolean isComposingChar(char x)
          Is the character a composing character as defined by the Character Model 2nd Last Call Working Draft.
static boolean isFullyNormalizedConstruct(java.lang.String str)
          Is this string fully normalized as defined by the Character Model 2nd Last Call Working Draft.
static boolean isNormalFormC(java.lang.String str)
          Is this string in Unicode Normal Form C.
static boolean startsWithComposingCharacter(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterModel

public CharacterModel()
Method Detail

isNormalFormC

public static boolean isNormalFormC(java.lang.String str)
Is this string in Unicode Normal Form C.

Parameters:
str - The string to be tested.

startsWithComposingCharacter

public static boolean startsWithComposingCharacter(java.lang.String str)

isFullyNormalizedConstruct

public static boolean isFullyNormalizedConstruct(java.lang.String str)
Is this string fully normalized as defined by the Character Model 2nd Last Call Working Draft.

Parameters:
str - The string to be tested.

isComposingChar

public static boolean isComposingChar(char x)
Is the character a composing character as defined by the Character Model 2nd Last Call Working Draft.

Parameters:
x - The character to be tested.


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.