The XMLStreamReader interface of the com.ms.xml.util package reads XML streams and translates them into characters according to a specified character encoding.
public interface XMLStreamReader { // Methods public int open(String url); public int read(int[] buf, int len); public void setEncoding(int encoding, int offset); public void close(); }