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

public Class DoubleEncodingAlgorithm

extends IEEE754FloatingPointEncodingAlgorithm
Class Inheritance
Imports
java.io.EOFException, .IOException, .InputStream, .OutputStream, java.nio.CharBuffer, java.util.ArrayList, .List, org.jvnet.fastinfoset.EncodingAlgorithmException, com.sun.xml.fastinfoset.CommonResourceBundle

Field Summary

Inherited from com.sun.xml.fastinfoset.algorithm.IEEE754FloatingPointEncodingAlgorithm:
DOUBLE_MAX_CHARACTER_SIZEDOUBLE_SIZEFLOAT_MAX_CHARACTER_SIZEFLOAT_SIZE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object
public final void
public final void
public final void
convertToCharactersFromDoubleArray(double[] fdata, StringBuffer s)
Deprecated for removal since 2.1.1. Use convertToCharactersFromDoubleArray(double[], StringBuilder) instead.

public final Object
public final void
decodeFromBytesToDoubleArray(double[] data, int fstart, byte[] b, int start, int length)

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

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

public final void
encodeToBytesFromDoubleArray(double[] fdata, int fstart, int flength, byte[] b, int start)

public void
public final void
public final double[]
public int
public final int

Constructor Detail

DoubleEncodingAlgorithmback to summary
public DoubleEncodingAlgorithm()

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
convertToCharactersFromDoubleArrayback to summary
public final void convertToCharactersFromDoubleArray(double[] fdata, StringBuilder s)
convertToCharactersFromDoubleArrayback to summary
public final void convertToCharactersFromDoubleArray(double[] fdata, StringBuffer s)

Deprecated

for removal since 2.1.1.

Use convertToCharactersFromDoubleArray(double[], 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
decodeFromBytesToDoubleArrayback to summary
public final void decodeFromBytesToDoubleArray(double[] data, int fstart, byte[] b, int start, int length)
decodeFromInputStreamback to summary
public final Object decodeFromInputStream(InputStream s) throws IOException

Implements org.jvnet.fastinfoset.EncodingAlgorithm.decodeFromInputStream.

Annotations
@Override
decodeFromInputStreamToDoubleArrayback to summary
public final double[] decodeFromInputStreamToDoubleArray(InputStream s) throws IOException
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
encodeToBytesFromDoubleArrayback to summary
public final void encodeToBytesFromDoubleArray(double[] fdata, int fstart, int flength, byte[] b, int start)
encodeToOutputStreamback to summary
public void encodeToOutputStream(Object data, OutputStream s) throws IOException

Implements org.jvnet.fastinfoset.EncodingAlgorithm.encodeToOutputStream.

Annotations
@Override
encodeToOutputStreamFromDoubleArrayback to summary
public final void encodeToOutputStreamFromDoubleArray(double[] fdata, OutputStream s) throws IOException
generateArrayFromListback to summary
public final double[] generateArrayFromList(List<Double> array)
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