com.sun.xml.fastinfoset.algorithm
Class BuiltInEncodingAlgorithm
java.lang.Object
com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
- All Implemented Interfaces:
- EncodingAlgorithm
- Direct Known Subclasses:
- BASE64EncodingAlgorithm, BooleanEncodingAlgorithm, HexadecimalEncodingAlgorithm, IEEE754FloatingPointEncodingAlgorithm, IntegerEncodingAlgorithm
public abstract class BuiltInEncodingAlgorithm
- extends Object
- implements EncodingAlgorithm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE_PATTERN
protected static final Pattern SPACE_PATTERN
BuiltInEncodingAlgorithm
public BuiltInEncodingAlgorithm()
getPrimtiveLengthFromOctetLength
public abstract int getPrimtiveLengthFromOctetLength(int octetLength)
throws EncodingAlgorithmException
- Throws:
EncodingAlgorithmException
getOctetLengthFromPrimitiveLength
public abstract int getOctetLengthFromPrimitiveLength(int primitiveLength)
encodeToBytes
public abstract void encodeToBytes(Object array,
int astart,
int alength,
byte[] b,
int start)
matchWhiteSpaceDelimnatedWords
public void matchWhiteSpaceDelimnatedWords(CharBuffer cb,
BuiltInEncodingAlgorithm.WordListener wl)
removeWhitespace
public StringBuilder removeWhitespace(char[] ch,
int start,
int length)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.