|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.io.serial.Serializer
org.basex.io.serial.OutputSerializer
org.basex.io.serial.XMLSerializer
public class XMLSerializer
This class serializes data as XML.
Field Summary |
---|
Fields inherited from class org.basex.io.serial.OutputSerializer |
---|
content, ct, docsys, escape, html5, indents, isep, nl, out, saomit, script, sep, tab |
Fields inherited from class org.basex.io.serial.Serializer |
---|
elem, indent, level, PROPS, tags, undecl |
Method Summary | |
---|---|
protected void |
atomic(Item i)
Serializes an atomic value. |
protected void |
finishText(byte[] v)
Serializes a text. |
protected void |
startOpen(byte[] t)
Starts an element. |
Methods inherited from class org.basex.io.serial.OutputSerializer |
---|
attribute, close, closeResult, code, ct, doctype, finishClose, finishComment, finished, finishEmpty, finishOpen, finishPi, finishText, hex, indent, openDoc, openResult, print, print, print, printChar, reset |
Methods inherited from class org.basex.io.serial.Serializer |
---|
closeDoc, closeElement, get, get, namespace, nsUri, serialize, startElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected void startOpen(byte[] t) throws java.io.IOException
Serializer
startOpen
in class OutputSerializer
t
- tag name
java.io.IOException
- I/O exceptionprotected void finishText(byte[] v) throws java.io.IOException
Serializer
finishText
in class OutputSerializer
v
- value
java.io.IOException
- I/O exceptionprotected void atomic(Item i) throws java.io.IOException
Serializer
atomic
in class OutputSerializer
i
- item
java.io.IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |