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.dcs.util.DcsatXmlStreamWriter
-
- All Implemented Interfaces:
AutoCloseable
public class DcsatXmlStreamWriter extends ExportXmlStreamWriter
XmlStreamWriterfor dcsat objects
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
charactersExportConvertOption, ENCODING, INDENT_STRING, LINE_END, xmlWriter
-
-
Constructor Summary
Constructors Constructor Description DcsatXmlStreamWriter(OutputStream outputStream, boolean empty, String lineFeed)Creates new writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginDocument()Write xml document header with namespacesvoidwriteEndDocument()Closes any start tags and writes corresponding end tags.voidwriteLineFeed()Writes a line feed-
Methods inherited from class com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
addKnownPrefix, beginDocument, close, decreaseIndent, getIndent, getNewPrefix, getPrefix, getXmlWriter, increaseIndent, optimizeQName, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeCharacters, writeDefaultNamespace, writeEmptyElement, writeEmptyElement, writeEndElement, writeInlineEndElement, writeNamespace, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeTextElement, writeTextElement
-
-
-
-
Constructor Detail
-
DcsatXmlStreamWriter
public DcsatXmlStreamWriter(OutputStream outputStream, boolean empty, String lineFeed) throws XMLStreamException, FactoryConfigurationError
Creates new writer.- Parameters:
outputStream- the output stream, cannot benullempty- the empty appearance flaglineFeed- the line feed to use, cannot benull- Throws:
XMLStreamException- the XML stream exceptionFactoryConfigurationError- the factory configuration error
-
-
Method Detail
-
beginDocument
public void beginDocument() throws XMLStreamExceptionDescription copied from class:ExportXmlStreamWriterWrite xml document header with namespaces- Overrides:
beginDocumentin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-
writeEndDocument
public void writeEndDocument() throws XMLStreamExceptionCloses any start tags and writes corresponding end tags.- Overrides:
writeEndDocumentin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-
writeLineFeed
public void writeLineFeed() throws XMLStreamExceptionDescription copied from class:ExportXmlStreamWriterWrites a line feed- Overrides:
writeLineFeedin classExportXmlStreamWriter- Throws:
XMLStreamException- if an error occurred of write in stream
-
-