public interface ElementWriter extends ContentWriter
| Modifier and Type | Method and Description |
|---|---|
ElementWriter |
attribute(String name,
String value)
Write tag attribute.
|
ElementWriter |
flush()
Flush the content using underlying writer.
|
ElementWriter |
xmlns(String uri)
Write XML namespace of the current tag.
|
default ElementWriter |
xmlns(String prefix,
String uri)
Write XML namespace of the current tag.
|
ElementWriter |
xmlns(String prefix,
URI uri)
Write XML namespace of the current tag.
|
cdata, close, comment, end, instruction, tag, tag, textElementWriter xmlns(String uri)
uri - Namespace URI.ElementWriter xmlns(String prefix, URI uri)
prefix - Namespace prefix.uri - Namespace URI.default ElementWriter xmlns(String prefix, String uri)
prefix - Namespace prefix.uri - Namespace URI.ElementWriter attribute(String name, String value)
name - Attribute name.value - Attribute value.ElementWriter flush()
flush in interface ContentWriterCopyright © 2018. All rights reserved.