com.bluecast.xml

Class UnicodeBigXMLDecoder

public final class UnicodeBigXMLDecoder extends Object implements XMLDecoder

A decoder for big-endian Unicode text. Also converts carriage returns into linefeeds and CRLF into LF.

Version: $Revision: 1.5 $

Author: Yuval Oren, yuval@bluecast.com

Method Summary
voiddecode(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result)
voiddecodeXMLDecl(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result)
intmaxBytesPerChar()
intminBytesPerChar()
CharsetDecodernewCharsetDecoder()
XMLDecodernewXMLDecoder()
voidreset()

Method Detail

decode

public void decode(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result)

decodeXMLDecl

public void decodeXMLDecl(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result)

maxBytesPerChar

public int maxBytesPerChar()

minBytesPerChar

public int minBytesPerChar()

newCharsetDecoder

public CharsetDecoder newCharsetDecoder()

newXMLDecoder

public XMLDecoder newXMLDecoder()

reset

public void reset()