org.exist.validation.internal
Class ResourceInputStream
java.lang.Object
java.io.InputStream
org.exist.validation.internal.ResourceInputStream
- public class ResourceInputStream
- extends java.io.InputStream
Wrapper between ResourceThread that writes data into outputstream and
the needed InputStream that is needed for the Validator. The glue is the
circulair buffer BlockingOutputStream.
- Author:
- dizzzz
- See Also:
InputStream,
Validator,
BlockingOutputStream
| Methods inherited from class java.io.InputStream |
mark, markSupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceInputStream
public ResourceInputStream(BrokerPool brokerPool,
java.lang.String resourceId)
- Creates a new instance of ResourceInputStream.
- Parameters:
brokerPool - BrokerPoolresourceId - XML resource that must be streamed.
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.