|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--java.io.FilterInputStream | +--java.io.DataInputStream | +--org.apache.xindice.xml.XMLCompressedInput
XMLCompressedInput is an InputStream extension that provides functions for reading type from a Xindice Compressed XML Stream.
Constructor Summary | |
XMLCompressedInput(java.io.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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLCompressedInput(java.io.InputStream is, SymbolTable st)
Method Detail |
public final byte readSignature() throws java.io.IOException
java.io.IOException
- if an IOException occurspublic final byte getSignature()
public final short getNodeType()
public final int readContentSize() throws java.io.IOException
java.io.IOException
- if an IOException occurspublic final int readAttributeCount() throws java.io.IOException
java.io.IOException
- if an IOException occurs
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |