|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.siemens.ct.exi.helpers.BuiltInRestrictedCharacterSets
public class BuiltInRestrictedCharacterSets
| Method Summary | |
|---|---|
char |
getCharacter(int code)
Retrieves the character with given code(-point). |
int |
getCode(char c)
Returns code for given character or NOT_FOUND == -1 for
invalid char. |
int |
getCodingLength()
Returns the number of bits to encode codes for the set. |
static RestrictedCharacterSet |
newXSDBase64BinaryInstance()
|
static RestrictedCharacterSet |
newXSDBooleanInstance()
|
static RestrictedCharacterSet |
newXSDDateTimeInstance()
|
static RestrictedCharacterSet |
newXSDDecimalInstance()
|
static RestrictedCharacterSet |
newXSDDoubleInstance()
|
static RestrictedCharacterSet |
newXSDHexBinaryInstance()
|
static RestrictedCharacterSet |
newXSDIntegerInstance()
|
int |
size()
Returns the number of entries for the set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RestrictedCharacterSet newXSDBase64BinaryInstance()
public static RestrictedCharacterSet newXSDHexBinaryInstance()
public static RestrictedCharacterSet newXSDBooleanInstance()
public static RestrictedCharacterSet newXSDDateTimeInstance()
public static RestrictedCharacterSet newXSDDecimalInstance()
public static RestrictedCharacterSet newXSDDoubleInstance()
public static RestrictedCharacterSet newXSDIntegerInstance()
public char getCharacter(int code)
throws UnknownElementException
RestrictedCharacterSet
getCharacter in interface RestrictedCharacterSetUnknownElementException - code unknownpublic int getCode(char c)
RestrictedCharacterSetNOT_FOUND == -1 for
invalid char.
getCode in interface RestrictedCharacterSetc - character of interest
public int size()
RestrictedCharacterSet
size in interface RestrictedCharacterSetpublic int getCodingLength()
RestrictedCharacterSetcodingLength = ceil( log2(N + 1) ) and N is the number of characters in the restricted character set.
getCodingLength in interface RestrictedCharacterSetRestrictedCharacterSet.size()
|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||