public abstract static class UnicodeSet.XSymbolTable extends java.lang.Object implements SymbolTable
SYMBOL_REF| Constructor and Description |
|---|
XSymbolTable()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPropertyAlias(java.lang.String propertyName,
java.lang.String propertyValue,
UnicodeSet result)
Override the interpretation of the sequence [:propertyName=propertyValue:] (and its negated and Perl-style
variant).
|
char[] |
lookup(java.lang.String s)
Supplies default implementation for SymbolTable (no action).
|
UnicodeMatcher |
lookupMatcher(int i)
Supplies default implementation for SymbolTable (no action).
|
java.lang.String |
parseReference(java.lang.String text,
java.text.ParsePosition pos,
int limit)
Supplies default implementation for SymbolTable (no action).
|
public XSymbolTable()
public UnicodeMatcher lookupMatcher(int i)
lookupMatcher in interface SymbolTablei - a 32-bit code point from 0 to 0x10FFFF inclusive.public boolean applyPropertyAlias(java.lang.String propertyName,
java.lang.String propertyValue,
UnicodeSet result)
This routine will be called whenever the parsing of a UnicodeSet pattern finds such a propertyName+propertyValue combination.
propertyName - the name of the propertypropertyValue - the name of the property valueresult - UnicodeSet value to change
a set to which the characters having the propertyName+propertyValue are to be added.public char[] lookup(java.lang.String s)
lookup in interface SymbolTables - the symbolic name to lookuppublic java.lang.String parseReference(java.lang.String text,
java.text.ParsePosition pos,
int limit)
parseReference in interface SymbolTabletext - 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.Copyright © 2016 Unicode, Inc. and others.