com.lightdev.lib.xml.io
Class XmlReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.BufferedReader
          extended by com.lightdev.lib.xml.io.XmlReader
All Implemented Interfaces:
Closeable, Readable
Direct Known Subclasses:
XmlDocumentReader

public class XmlReader
extends BufferedReader

Custom reader for XML content

Version:
1, March 5, 2005
Author:
Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the BSD License, for details see file license.txt in the distribution package of this software

Constructor Summary
XmlReader(Reader in)
          constructor
 
Method Summary
 void read(XmlParserCallback listener)
          read from the reader given at construction time
 
Methods inherited from class java.io.BufferedReader
close, mark, markSupported, read, read, readLine, ready, reset, skip
 
Methods inherited from class java.io.Reader
read, read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlReader

public XmlReader(Reader in)
constructor

Parameters:
in - Reader the reader to use for reading
Method Detail

read

public void read(XmlParserCallback listener)
          throws IOException,
                 IllegalCharacterException
read from the reader given at construction time

Parameters:
listener - XmlParserCallback the handler for XML content found by the parser
Throws:
IOException
IllegalCharacterException
See Also:
XmlParserCallback