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
XmlStreamWriter
for 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 void
beginDocument()
Write xml document header with namespacesvoid
writeEndDocument()
Closes any start tags and writes corresponding end tags.void
writeLineFeed()
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 benull
empty
- 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 XMLStreamException
Description copied from class:ExportXmlStreamWriter
Write xml document header with namespaces- Overrides:
beginDocument
in classExportXmlStreamWriter
- Throws:
XMLStreamException
- if an error occurred of write in stream
-
writeEndDocument
public void writeEndDocument() throws XMLStreamException
Closes any start tags and writes corresponding end tags.- Overrides:
writeEndDocument
in classExportXmlStreamWriter
- Throws:
XMLStreamException
- if an error occurred of write in stream
-
writeLineFeed
public void writeLineFeed() throws XMLStreamException
Description copied from class:ExportXmlStreamWriter
Writes a line feed- Overrides:
writeLineFeed
in classExportXmlStreamWriter
- Throws:
XMLStreamException
- if an error occurred of write in stream
-
-