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
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
ConstructorsConstructorDescriptionDcsatXmlStreamWriter
(OutputStream outputStream, boolean empty, String lineFeed) Creates new writer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Write xml document header with namespacesvoid
Closes any start tags and writes corresponding end tags.void
Writes a line feedMethods 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 Details
-
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 Details
-
beginDocument
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
Closes any start tags and writes corresponding end tags.- Overrides:
writeEndDocument
in classExportXmlStreamWriter
- Throws:
XMLStreamException
- if an error occurred of write in stream
-
writeLineFeed
Description copied from class:ExportXmlStreamWriter
Writes a line feed- Overrides:
writeLineFeed
in classExportXmlStreamWriter
- Throws:
XMLStreamException
- if an error occurred of write in stream
-