com.bea.xml.stream.reader
Class XmlReader.BaseReader

java.lang.Object
  extended by java.io.Reader
      extended by com.bea.xml.stream.reader.XmlReader.BaseReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable
Enclosing class:
XmlReader

public abstract static class XmlReader.BaseReader
extends java.io.Reader


Field Summary
protected  byte[] buffer
           
protected  int finish
           
protected  java.io.InputStream instream
           
protected  int start
           
 
Fields inherited from class java.io.Reader
lock
 
Method Summary
 void close()
           
abstract  java.lang.String getEncoding()
           
 boolean ready()
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instream

protected java.io.InputStream instream

buffer

protected byte[] buffer

start

protected int start

finish

protected int finish
Method Detail

getEncoding

public abstract java.lang.String getEncoding()

ready

public boolean ready()
              throws java.io.IOException
Overrides:
ready in class java.io.Reader
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException