Package com._1c.g5.v8.dt.dcs.util
Class DcsatXmlStreamWriter
java.lang.Object
com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
com._1c.g5.v8.dt.export.xml.writer.ExportContextXmlStreamWriter
com._1c.g5.v8.dt.dcs.util.DcsatXmlStreamWriter
- All Implemented Interfaces:
AutoCloseable
XmlStreamWriter for dcsat objects-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
charactersExportConvertOption, ENCODING, forceOptimizedXml, INDENT_STRING, LINE_END, prettyPrint, xmlWriter -
Constructor Summary
ConstructorsConstructorDescriptionDcsatXmlStreamWriter(OutputStream outputStream, IExportContext exportContext, boolean empty, String lineFeed) Creates new writer. -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite xml document header with namespacesvoidCloses any start tags and writes corresponding end tags.voidWrites a line feedMethods inherited from class com._1c.g5.v8.dt.export.xml.writer.ExportContextXmlStreamWriter
getExportContextMethods inherited from class com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
addKnownPrefix, addKnownPrefix, beginDocument, close, decreaseIndent, getIndent, getNewPrefix, getPrefix, getXmlWriter, increaseIndent, optimizeQName, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeCharacters, writeDefaultNamespace, writeDefaultNamespace, writeEmptyElement, writeEmptyElement, writeEndElement, writeInlineEndElement, writeNamespace, writeNamespace, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeTextElement, writeTextElement
-
Constructor Details
-
DcsatXmlStreamWriter
public DcsatXmlStreamWriter(OutputStream outputStream, IExportContext exportContext, boolean empty, String lineFeed) throws XMLStreamException, FactoryConfigurationError Creates new writer.- Parameters:
outputStream- the output stream, cannot benullexportContext- the export context, cannot benullempty- the empty appearance flaglineFeed- the line feed to use, cannot benull- Throws:
XMLStreamException- the XML stream exceptionFactoryConfigurationError- the factory configuration error
-
-
Method Details
-
beginDocument
Description copied from class:ExportXmlStreamWriterWrite xml document header with namespaces- Overrides:
beginDocumentin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-
writeEndDocument
Closes any start tags and writes corresponding end tags.- Overrides:
writeEndDocumentin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-
writeLineFeed
Description copied from class:ExportXmlStreamWriterWrites a line feed- Overrides:
writeLineFeedin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-