|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.utils.CharacterSet
public class CharacterSet
INTERNAL: Represents a set of Unicode characters, and provides a method to quickly determine whether or not a particular character is in the set. Useful for large, complex sets like "the set of XML name start characters". Characters outside the BMP (ie: above U+FFFF) are not supported.
Constructor Summary | |
---|---|
CharacterSet()
|
Method Summary | |
---|---|
void |
addInterval(char low,
char high)
Adds the interval of characters to the set. |
void |
close()
Called after the last interval has been added. |
boolean |
contains(char ch)
Used to determine whether or not the character is a member of the set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterSet()
Method Detail |
---|
public void addInterval(char low, char high)
public void close()
public boolean contains(char ch)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |