|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.apache.xindice.xml.XMLCompressedOutput
org.apache.xindice.xml.dom.DOMCompressor
DOMCompressor is an OutputStream extension that provides functions for writing DOM types to a Xindice Compressed XML Stream.
| Field Summary |
| Fields inherited from class org.apache.xindice.xml.XMLCompressedOutput |
st |
| Fields inherited from class java.io.DataOutputStream |
written |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
DOMCompressor(java.io.OutputStream os,
SymbolTable st)
|
|
| Method Summary | |
static byte[] |
Compress(org.w3c.dom.Node node,
SymbolTable symbols)
Compress is a convenience method that compresses a Node into a byte array with a single call. |
void |
writeNode(org.w3c.dom.Node node)
writeNode writes a Node to the compressed output stream. |
| Methods inherited from class org.apache.xindice.xml.XMLCompressedOutput |
getSizeSize, getSizeType, writeSize |
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
close, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
write |
| Constructor Detail |
public DOMCompressor(java.io.OutputStream os,
SymbolTable st)
| Method Detail |
public void writeNode(org.w3c.dom.Node node)
throws java.io.IOException
node - The Node to write
java.io.IOException - If the write failed
public static byte[] Compress(org.w3c.dom.Node node,
SymbolTable symbols)
throws XindiceException
node - The Node to compresssymbols - The Symbol Table to use
XindiceException - if an Exception occurs
|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||