|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.icu.text.UnicodeSet.XSymbolTable
public abstract static class UnicodeSet.XSymbolTable
Internal class for customizing UnicodeSet parsing of properties. TODO: extend to allow customizing of codepoint ranges
Field Summary |
---|
Fields inherited from interface com.ibm.icu.text.SymbolTable |
---|
SYMBOL_REF |
Constructor Summary | |
---|---|
UnicodeSet.XSymbolTable()
Default constructor |
Method Summary | |
---|---|
boolean |
applyPropertyAlias(String propertyName,
String propertyValue,
UnicodeSet result)
Apply a new property alias. |
char[] |
lookup(String s)
Supplies default implementation for SymbolTable (no action). |
UnicodeMatcher |
lookupMatcher(int i)
Supplies default implementation for SymbolTable (no action). |
String |
parseReference(String text,
ParsePosition pos,
int limit)
Supplies default implementation for SymbolTable (no action). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnicodeSet.XSymbolTable()
Method Detail |
---|
public UnicodeMatcher lookupMatcher(int i)
lookupMatcher
in interface SymbolTable
i
- a 32-bit code point from 0 to 0x10FFFF inclusive.
public boolean applyPropertyAlias(String propertyName, String propertyValue, UnicodeSet result)
propertyName
- the xxx in [:xxx=yyy:]propertyValue
- the yyy in [:xxx=yyy:]result
- where the result is placed
public char[] lookup(String s)
lookup
in interface SymbolTable
s
- the symbolic name to lookup
public String parseReference(String text, ParsePosition pos, int limit)
parseReference
in interface SymbolTable
text
- the text to parse for the namepos
- on entry, the index of the first character to parse.
This is the character following the SYMBOL_REF character. On
exit, the index after the last parsed character. If the parse
failed, pos is unchanged on exit.limit
- the index after the last character to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |