public interface IXMLWriterSettings
@Nonnull EXMLSerializeFormat getFormat()
XML.@Nonnull EXMLVersion getXMLVersion()
1.0@Nonnull EXMLSerializeDocType getSerializeDocType()
true.@Nonnull EXMLSerializeComments getSerializeComments()
true.@Nonnull EXMLSerializeIndent getIndent()
indent and aligned.@Nonnull EXMLIncorrectCharacterHandling getIncorrectCharacterHandling()
null.@Nonnull NamespaceContext getNamespaceContext()
null.boolean isUseDoubleQuotesForAttributes()
true if attribute values should be enclosed in double
quotes, false if single quotes should be used.boolean isSpaceOnSelfClosedElement()
<br />) or not (
<br/>)true if a space should be emitted, false
if no space should be emitted.@Nonnull @Nonempty @Deprecated String getNewlineString()
null nor empty.@Nonnull ENewLineMode getNewLineMode()
null.@Nonnull @Nonempty String getNewLineString()
getNewLineMode ().getText().@Nonnull @Nonempty String getIndentationString()
boolean isEmitNamespaces()
true if namespaces should be emitted,
false if all created elements should reside in the
default namespace.boolean isPutNamespaceContextPrefixesInRoot()
IIterableNamespaceContext
interface!true if it is enabled, false if not.Copyright © 2014–2015 Philip Helger. All rights reserved.