|
dbXML 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.dbxml.xml.XMLCompressedOutput
|
+--org.dbxml.xml.dom.DOMCompressor
DOMCompressor is an OutputStream extension that provides functions for writing DOM types to a dbXML 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 failed
public static byte[] Compress(org.w3c.dom.Node node,
SymbolTable symbols)
throws org.dbxml.server.dbXMLException
node - The Node to compresssymbols - The Symbol Table to useorg.dbxml.server.dbXMLException - if an Exception occurs
|
dbXML API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||