public interface IXMLWriterSettings
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset() |
Charset |
getCharsetObj() |
EXMLSerializeFormat |
getFormat() |
EXMLIncorrectCharacterHandling |
getIncorrectCharacterHandling() |
EXMLSerializeIndent |
getIndent() |
String |
getIndentationString() |
NamespaceContext |
getNamespaceContext() |
String |
getNewlineString() |
EXMLSerializeComments |
getSerializeComments() |
EXMLSerializeDocType |
getSerializeDocType() |
EXMLVersion |
getXMLVersion() |
boolean |
isEmitNamespaces()
Determine if namespaces should be emitted or not.
|
boolean |
isPutNamespaceContextPrefixesInRoot()
Check if the flag for putting all namespace prefixes specified in the
namespace context should be put in the root document.
|
boolean |
isSpaceOnSelfClosedElement()
Determine if a self closed element (an element having no children) should
be emitted with a space at the end (
<br />) or not (
<br/>) |
boolean |
isUseDoubleQuotesForAttributes() |
@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.@Nullable NamespaceContext getNamespaceContext()
null to
dynamically create the namespace prefixes.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 String getNewlineString()
null nor empty.@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 © 2006–2014 phloc systems. All rights reserved.