|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.apache.xindice.xml.XMLCompressedInput
public class XMLCompressedInput
XMLCompressedInput is an InputStream extension that provides functions for reading type from a Xindice Compressed XML Stream.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
XMLCompressedInput(InputStream is,
SymbolTable st)
|
Method Summary | |
---|---|
short |
getNodeType()
getNodeType resolves and returns the DOM Node type from the given Xindice compressed signature. |
byte |
getSignature()
getSignature returns the most recently read signature byte from the input stream. |
int |
readAttributeCount()
readAttributeCount reads the count of the upcoming Attributes from the Stream based on the object signature that is provided. |
int |
readContentSize()
readContentSize reads the size of the upcoming content from the Stream, based on the object signature that is provided. |
byte |
readSignature()
readSignature reads a Node signature byte from the input stream. |
Methods inherited from class java.io.DataInputStream |
---|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLCompressedInput(InputStream is, SymbolTable st)
Method Detail |
---|
public final byte readSignature() throws IOException
IOException
- if an IOException occurspublic final byte getSignature()
public final short getNodeType()
public final int readContentSize() throws IOException
IOException
- if an IOException occurspublic final int readAttributeCount() throws IOException
IOException
- if an IOException occurs
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |