Class UUIDEncodingAlgorithm
java.lang.Object
com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
com.sun.xml.fastinfoset.algorithm.IntegerEncodingAlgorithm
com.sun.xml.fastinfoset.algorithm.LongEncodingAlgorithm
com.sun.xml.fastinfoset.algorithm.UUIDEncodingAlgorithm
- All Implemented Interfaces:
EncodingAlgorithm
-
Nested Class Summary
Nested classes/interfaces inherited from class BuiltInEncodingAlgorithm
BuiltInEncodingAlgorithm.WordListener -
Field Summary
FieldsFields inherited from class IntegerEncodingAlgorithm
INT_MAX_CHARACTER_SIZE, INT_SIZE, LONG_MAX_CHARACTER_SIZE, LONG_SIZE, SHORT_MAX_CHARACTER_SIZE, SHORT_SIZEFields inherited from class BuiltInEncodingAlgorithm
SPACE_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectconvertFromCharacters(char[] ch, int start, int length) final voidconvertToCharacters(Object data, StringBuilder s) (package private) final Stringdigits(long val, int digits) (package private) final voidfromUUIDString(String name) final intgetPrimtiveLengthFromOctetLength(int octetLength) (package private) final StringtoUUIDString(long msb, long lsb) Methods inherited from class LongEncodingAlgorithm
convertToCharactersFromLongArray, convertToCharactersFromLongArray, decodeFromBytes, decodeFromBytesToLongArray, decodeFromInputStream, decodeFromInputStreamToIntArray, encodeToBytes, encodeToBytesFromLongArray, encodeToOutputStream, encodeToOutputStreamFromLongArray, generateArrayFromList, getOctetLengthFromPrimitiveLengthMethods inherited from class BuiltInEncodingAlgorithm
matchWhiteSpaceDelimnatedWords, removeWhitespaceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EncodingAlgorithm
convertToCharacters
-
Field Details
-
_msb
private long _msb -
_lsb
private long _lsb
-
-
Constructor Details
-
UUIDEncodingAlgorithm
public UUIDEncodingAlgorithm()
-
-
Method Details
-
getPrimtiveLengthFromOctetLength
public final int getPrimtiveLengthFromOctetLength(int octetLength) throws EncodingAlgorithmException - Overrides:
getPrimtiveLengthFromOctetLengthin classLongEncodingAlgorithm- Throws:
EncodingAlgorithmException
-
convertFromCharacters
- Specified by:
convertFromCharactersin interfaceEncodingAlgorithm- Overrides:
convertFromCharactersin classLongEncodingAlgorithm
-
convertToCharacters
- Specified by:
convertToCharactersin interfaceEncodingAlgorithm- Overrides:
convertToCharactersin classLongEncodingAlgorithm
-
fromUUIDString
-
toUUIDString
-
digits
-