Package org.teiid.util
Class XMLReader
- java.lang.Object
-
- java.io.Reader
-
- org.teiid.util.XMLReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class XMLReader extends Reader
Provides aReaderadapter for StAX
-
-
Constructor Summary
Constructors Constructor Description XMLReader(StAXSource source, XMLOutputFactory outFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(char[] cbuf, int off, int len)-
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
XMLReader
public XMLReader(StAXSource source, XMLOutputFactory outFactory) throws XMLStreamException
- Throws:
XMLStreamException
-
-
Method Detail
-
read
public int read() throws IOException- Overrides:
readin classReader- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
read
public int read(char[] cbuf, int off, int len) throws IOException- Specified by:
readin classReader- Throws:
IOException
-
-