|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.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.
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 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 |
equals, 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 writejava.io.IOException
- If the write failedpublic static byte[] Compress(org.w3c.dom.Node node, SymbolTable symbols) throws XindiceException
node
- The Node to compresssymbols
- The Symbol Table to useXindiceException
- if an Exception occurs
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |