com.ibm.ims.xms
Class XMSIntactScannedEntitySnoop

java.lang.Object
  |
  +--java.io.Reader
        |
        +--com.ibm.ims.xms.XMSIntactScannedEntitySnoop

public class XMSIntactScannedEntitySnoop
extends java.io.Reader


Field Summary
protected  java.io.Reader baseReader
           
protected  XMSIntactXMLHandler handler
           
protected  char[] uncommittedCache
           
protected  int uncommittedCount
           
protected  int uncommittedPosition
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
XMSIntactScannedEntitySnoop(org.apache.xerces.impl.XMLEntityManager.ScannedEntity entity, XMSIntactXMLHandler handler)
          Constuctor sets up the snoop reader
 
Method Summary
 void close()
           
 java.io.Reader done(org.apache.xerces.impl.XMLEntityManager.ScannedEntity entity, org.apache.xerces.xni.QName trimElement)
          Stops snooping on the Entity
 void mark(int readAheadLimit)
           
 boolean markSupported()
           
 int read()
           
 int read(char[] cbuf)
           
 int read(char[] cbuf, int off, int len)
           
 boolean ready()
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseReader

protected java.io.Reader baseReader

handler

protected XMSIntactXMLHandler handler

uncommittedCache

protected char[] uncommittedCache

uncommittedPosition

protected int uncommittedPosition

uncommittedCount

protected int uncommittedCount
Constructor Detail

XMSIntactScannedEntitySnoop

public XMSIntactScannedEntitySnoop(org.apache.xerces.impl.XMLEntityManager.ScannedEntity entity,
                                   XMSIntactXMLHandler handler)
Constuctor sets up the snoop reader
Method Detail

done

public java.io.Reader done(org.apache.xerces.impl.XMLEntityManager.ScannedEntity entity,
                           org.apache.xerces.xni.QName trimElement)
Stops snooping on the Entity
Parameters:
trimlast - true to trim off the last tag

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.Reader

read

public int read(char[] cbuf)
         throws java.io.IOException
Overrides:
read in class java.io.Reader

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.Reader

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.Reader

ready

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

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.Reader

mark

public void mark(int readAheadLimit)
          throws java.io.IOException
Overrides:
mark in class java.io.Reader

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.Reader

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.Reader


(C) International Business Machines Corporation 2004. All rights reserved.