Class FormDocumentWriter
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.writer.ExportXmlStreamWriter
-
- com._1c.g5.v8.dt.form.export.xml.writer.FormDocumentWriter
-
- All Implemented Interfaces:
AutoCloseable
public class FormDocumentWriter extends ExportXmlStreamWriter
XmlStreamWriter for form 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 FormDocumentWriter(OutputStream outputStream)
Constructor of XmlStreamWriter for form objects with prettyPrint and utf-8 encodingFormDocumentWriter(OutputStream outputStream, Version projectVersion)
Constructor of XmlStreamWriter for form objects with prettyPrint and utf-8 encoding
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginDocument()
Write xml document header with namespaces-
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, writeEndDocument, writeEndElement, writeInlineEndElement, writeLineFeed, writeNamespace, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeTextElement, writeTextElement
-
-
-
-
Constructor Detail
-
FormDocumentWriter
public FormDocumentWriter(OutputStream outputStream, Version projectVersion) throws XMLStreamException, FactoryConfigurationError
Constructor of XmlStreamWriter for form objects with prettyPrint and utf-8 encoding- Parameters:
outputStream
- the stream to write to- Throws:
XMLStreamException
FactoryConfigurationError
- if an instance ofXMLOutputFactory
cannot be loaded
-
FormDocumentWriter
public FormDocumentWriter(OutputStream outputStream) throws XMLStreamException, FactoryConfigurationError
Constructor of XmlStreamWriter for form objects with prettyPrint and utf-8 encoding- Parameters:
outputStream
- the stream to write to- Throws:
XMLStreamException
FactoryConfigurationError
- if an instance ofXMLOutputFactory
cannot be loaded
-
-
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
-
-