Top Fields Constructors Methods
com.sun.xml.fastinfoset.algorithm

public Class BASE64EncodingAlgorithm

extends BuiltInEncodingAlgorithm
Class Inheritance
Imports
java.io.IOException, .InputStream, .OutputStream, org.jvnet.fastinfoset.EncodingAlgorithmException, com.sun.xml.fastinfoset.CommonResourceBundle

Field Summary

Modifier and TypeField and Description
pack-priv static final int[]
pack-priv static final char[]
Inherited from com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm:
SPACE_PATTERN

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object
public final void
public final void
convertToCharacters(byte[] data, int offset, int length, StringBuilder s)

public final void
convertToCharacters(byte[] data, int offset, int length, StringBuffer s)
Deprecated for removal since 2.1.1. Use convertToCharacters(byte[], int, int, StringBuilder) instead.

public final Object
public final Object
public final void
encodeToBytes(Object array, int astart, int alength, byte[] b, int start)

Implements abstract com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm.encodeToBytes.

public void
public int
public final int
Inherited from com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm:
matchWhiteSpaceDelimnatedWordsremoveWhitespace

Field Detail

decodeBase64back to summary
pack-priv static final int[] decodeBase64
encodeBase64back to summary
pack-priv static final char[] encodeBase64

Constructor Detail

BASE64EncodingAlgorithmback to summary
public BASE64EncodingAlgorithm()

Method Detail

convertFromCharactersback to summary
public final Object convertFromCharacters(char[] ch, int start, int length)

Implements org.jvnet.fastinfoset.EncodingAlgorithm.convertFromCharacters.

Annotations
@Override
convertToCharactersback to summary
public final void convertToCharacters(Object data, StringBuilder s)

Implements org.jvnet.fastinfoset.EncodingAlgorithm.convertToCharacters.

Annotations
@Override
convertToCharactersback to summary
public final void convertToCharacters(byte[] data, int offset, int length, StringBuilder s)
convertToCharactersback to summary
public final void convertToCharacters(byte[] data, int offset, int length, StringBuffer s)

Deprecated

for removal since 2.1.1.

Use convertToCharacters(byte[], int, int, StringBuilder) instead.

Annotations
@Deprecated
since:2.1.1
forRemoval:true
decodeFromBytesback to summary
public final Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException

Implements org.jvnet.fastinfoset.EncodingAlgorithm.decodeFromBytes.

Annotations
@Override
decodeFromInputStreamback to summary
public final Object decodeFromInputStream(InputStream s) throws IOException

Implements org.jvnet.fastinfoset.EncodingAlgorithm.decodeFromInputStream.

Annotations
@Override
encodeToBytesback to summary
public final void encodeToBytes(Object array, int astart, int alength, byte[] b, int start)

Implements abstract com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm.encodeToBytes.

Annotations
@Override
encodeToOutputStreamback to summary
public void encodeToOutputStream(Object data, OutputStream s) throws IOException

Implements org.jvnet.fastinfoset.EncodingAlgorithm.encodeToOutputStream.

Annotations
@Override
getOctetLengthFromPrimitiveLengthback to summary
public int getOctetLengthFromPrimitiveLength(int primitiveLength)

Implements abstract com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm.getOctetLengthFromPrimitiveLength.

Annotations
@Override
getPrimtiveLengthFromOctetLengthback to summary
public final int getPrimtiveLengthFromOctetLength(int octetLength) throws EncodingAlgorithmException

Implements abstract com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm.getPrimtiveLengthFromOctetLength.

Annotations
@Override