|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestrictedCharacterSet
If a string value is associated with a schema datatype and one or more of the datatypes in its datatype hierarchy has one or more pattern facets, there may be a restricted character set defined for the string value. http://www.w3.org/TR/exi/#restrictedCharSet
Method Summary | |
---|---|
int |
getCode(int codePoint)
Returns code for given code-point or NOT_FOUND == -1 for
invalid char. |
int |
getCodePoint(int code)
Retrieves the code-point for given code. |
int |
getCodingLength()
Returns the number of bits to encode codes for the set. |
int |
size()
Returns the number of entries for the set. |
Method Detail |
---|
int getCodePoint(int code)
code
-
java.lang.IndexOutOfBoundsException
int getCode(int codePoint)
NOT_FOUND
== -1 for
invalid char.
codePoint
- character of interest
int size()
int getCodingLength()
codingLength = ceil( log2(N + 1) ) and N is the number of characters in the restricted character set.
size()
|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |