| java.lang.Object java.io.Reader com.bluecast.xml.XMLInputReader com.bluecast.xml.XMLReaderReader
XMLReaderReader | final public class XMLReaderReader extends XMLInputReader (Code) | | A Reader for XML documents and streams. This class prepares a Reader
source for XML processing by converting CR/LF patterns to LF and by
checking for illegal XML characters.
author: Yuval Oren, yuval@bluecast.com version: $Revision: 1.5 $ |
Constructor Summary | |
public | XMLReaderReader() Create an XMLReaderReader without providing an input Reader yet. | public | XMLReaderReader(Reader in) Creates an XMLReaderReader and resets the reader position
after reading the XML declaration. | public | XMLReaderReader(Reader in, boolean rewindDeclaration) Creates an XMLReaderReader.
Parameters: in - the input source Parameters: rewindDeclaration - a value of false will skip past anyXML declaration. |
Method Summary | |
public void | close() | public void | mark(int readAheadLimit) | public boolean | markSupported() | public int | read() | public int | read(char[] destbuf) | public int | read(char[] destbuf, int off, int len) | public boolean | ready() | public void | reset(Reader in, boolean rewindDeclaration) | public void | reset() | public long | skip(long n) |
XMLReaderReader | public XMLReaderReader()(Code) | | Create an XMLReaderReader without providing an input Reader yet.
You must call reset() before using.
|
XMLReaderReader | public XMLReaderReader(Reader in) throws IOException(Code) | | Creates an XMLReaderReader and resets the reader position
after reading the XML declaration.
Parameters: in - the input source |
XMLReaderReader | public XMLReaderReader(Reader in, boolean rewindDeclaration) throws IOException(Code) | | Creates an XMLReaderReader.
Parameters: in - the input source Parameters: rewindDeclaration - a value of false will skip past anyXML declaration. True will dish out the entire document. |
markSupported | public boolean markSupported()(Code) | | |
|
|