| com.bluecast.xml.XMLDecoder
All known Subclasses: com.bluecast.xml.UnicodeLittleXMLDecoder, com.bluecast.xml.UnicodeBigXMLDecoder, com.bluecast.xml.ISO8859_1XMLDecoder, com.bluecast.xml.ASCIIXMLDecoder, com.bluecast.xml.UTF8XMLDecoder,
XMLDecoder | public interface XMLDecoder extends CharsetDecoder(Code) | | Converts bytes to characters while checking for valid XML characters
author: Yuval Oren version: $Revision: 1.3 $ |
Method Summary | |
public void | decodeXMLDecl(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result) Decodes the XML declaration from an array of bytes into characters.
This method will read at least until a '>' character is found or until a
decoding error occurs. | public XMLDecoder | newXMLDecoder() |
decodeXMLDecl | public void decodeXMLDecl(byte[] in_buf, int in_off, int in_len, char[] out_buf, int out_off, int out_len, int[] result) throws CharConversionException(Code) | | Decodes the XML declaration from an array of bytes into characters.
This method will read at least until a '>' character is found or until a
decoding error occurs. Additional bytes may be decoded, up to a total
of in_len.
Parameters: in_buf - input byte buffer Parameters: in_off - starting byte buffer offset Parameters: in_len - max number of bytes to read Parameters: out_buf - output character buffer Parameters: out_off - char buffer offset at which to start writing Parameters: out_len - max number of chars to write Parameters: result - an array of size >= 2 where results are returned:result[0] = number of bytes read.result[1] = number of chars written |
|
|