org.gjt.xpp.x2impl.x2pullparser
Class X2PullParser.CumulativeReader

java.lang.Object
  extended by java.io.Reader
      extended by org.gjt.xpp.x2impl.x2pullparser.X2PullParser.CumulativeReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable
Enclosing class:
X2PullParser

protected class X2PullParser.CumulativeReader
extends java.io.Reader


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
X2PullParser.CumulativeReader(java.io.Reader reader)
          Constructs this reader from another reader.
 
Method Summary
 void close()
           
 boolean getCumulative()
           
 char[] getCumulativeBuffer()
           
 int getCumulativeBufferAbsoluteEnd()
           
 int getCumulativeBufferAbsoluteStart()
           
 int getCumulativeBufferEnd()
           
 int getCumulativeBufferStart()
           
 int read(char[] ch, int offset, int length)
           
 void setCumulative(boolean value)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X2PullParser.CumulativeReader

public X2PullParser.CumulativeReader(java.io.Reader reader)
Constructs this reader from another reader.

Method Detail

setCumulative

public void setCumulative(boolean value)

getCumulative

public boolean getCumulative()

getCumulativeBuffer

public char[] getCumulativeBuffer()

getCumulativeBufferAbsoluteStart

public int getCumulativeBufferAbsoluteStart()

getCumulativeBufferAbsoluteEnd

public int getCumulativeBufferAbsoluteEnd()

getCumulativeBufferStart

public int getCumulativeBufferStart()

getCumulativeBufferEnd

public int getCumulativeBufferEnd()

close

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

read

public int read(char[] ch,
                int offset,
                int length)
         throws java.io.IOException
Specified by:
read in class java.io.Reader
Throws:
java.io.IOException


Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.

Note this package is deprecated by XPP3 that implements XmlPull API