Package org.basex.io.serial.csv
Class CsvXQuerySerializer
java.lang.Object
org.basex.io.serial.Serializer
org.basex.io.serial.OutputSerializer
org.basex.io.serial.StandardSerializer
org.basex.io.serial.csv.CsvXQuerySerializer
- All Implemented Interfaces:
Closeable,AutoCloseable
This class serializes map data as CSV. The input must conform to the XQuery CSV representation.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from class org.basex.io.serial.StandardSerializer
atomic, form, sepFields inherited from class org.basex.io.serial.OutputSerializer
encoding, itemsep, out, sopts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.io.serial.StandardSerializer
characterMap, function, node, norm, print, printChar, resetMethods inherited from class org.basex.io.serial.OutputSerializer
close, finished, indent, printChars, printHex, separateMethods inherited from class org.basex.io.serial.Serializer
attribute, closeDoc, closeElement, comment, finishClose, finishEmpty, finishOpen, get, get, namespace, nsUri, openDoc, openElement, pi, sc, skipElement, startOpen, text, value
-
Constructor Details
-
CsvXQuerySerializer
Constructor.- Parameters:
os- output streamopts- serialization parameters- Throws:
IOException- I/O exception
-
-
Method Details
-
serialize
Description copied from class:SerializerSerializes the specified item, which may be a node or an atomic value.- Overrides:
serializein classStandardSerializer- Parameters:
item- item to be serialized- Throws:
IOException- I/O exception
-
atomic
Description copied from class:SerializerSerializes an atomic value.- Overrides:
atomicin classStandardSerializer- Parameters:
value- item- Throws:
IOException- I/O exception
-