public interface DocumentWriter extends ContentWriter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DocumentWriter.DoctypeWriter |
static interface |
DocumentWriter.XmlSpecWriter |
| Modifier and Type | Method and Description |
|---|---|
DocumentWriter.DoctypeWriter |
doctype(String name)
Write XML document type to associate document with DTD, ot set it as well known.
|
DocumentWriter |
flush()
Flush the content using underlying writer.
|
default DocumentWriter.XmlSpecWriter |
version(double version)
Write XML document version.
|
DocumentWriter.XmlSpecWriter |
version(String version)
Write XML document version.
|
cdata, close, comment, end, instruction, tag, tag, textDocumentWriter.XmlSpecWriter version(String version)
version - document version.default DocumentWriter.XmlSpecWriter version(double version)
version - document version.DocumentWriter.DoctypeWriter doctype(String name)
name - Document type name.DocumentWriter flush()
flush in interface ContentWriterCopyright © 2018. All rights reserved.