public abstract static class UnicodeSet.XSymbolTable extends Object implements SymbolTable
SYMBOL_REF
Constructor and Description |
---|
XSymbolTable()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
applyPropertyAlias(String propertyName,
String propertyValue,
UnicodeSet result)
Override the interpretation of the sequence [:propertyName=propertyValue:] (and its negated and Perl-style
variant).
|
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).
|
public XSymbolTable()
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)
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(String s)
lookup
in interface SymbolTable
s
- the symbolic name to lookuppublic 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.Copyright © 2016 Unicode, Inc. and others.