public interface IXMLWriterSettings extends Serializable
@Nonnull EXMLVersion getXMLVersion()
1.0@Nonnull EXMLSerializeVersion getSerializeVersion()
XML 1.0@Nonnull EXMLSerializeXMLDeclaration getSerializeXMLDeclaration()
true.@Nonnull EXMLSerializeDocType getSerializeDocType()
true.@Nonnull EXMLSerializeComments getSerializeComments()
true.@Nonnull EXMLSerializeIndent getIndent()
indent and aligned.@Nonnull IXMLIndentDeterminator getIndentDeterminator()
null.@Nonnull EXMLIncorrectCharacterHandling getIncorrectCharacterHandling()
null.@Nonnull INamespaceContext getNamespaceContext()
null.boolean isUseDoubleQuotesForAttributes()
true if attribute values should be enclosed in double
quotes, false if single quotes should be used.@Nonnull IXMLBracketModeDeterminator getBracketModeDeterminator()
null
.boolean isSpaceOnSelfClosedElement()
<br />) or not (
<br/>)true if a space should be emitted, false
if no space should be emitted.@Nonnull com.helger.commons.system.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–2017 Philip Helger. All rights reserved.