Class X2PullParser.CumulativeReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable
    Enclosing class:
    X2PullParser

    protected class X2PullParser.CumulativeReader
    extends java.io.Reader
    • Constructor Detail

      • CumulativeReader

        public 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.lang.AutoCloseable
        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