| Package | Description |
|---|---|
| com.helger.xml.serialize.write |
| Modifier and Type | Method and Description |
|---|---|
static XMLWriterSettings |
XMLWriterSettings.createForCanonicalization()
The canonical form of an XML document is physical representation of the
document produced by the method described in this specification.
|
static XMLWriterSettings |
XMLWriterSettings.createForHTML4() |
static XMLWriterSettings |
XMLWriterSettings.createForHTML5() |
static XMLWriterSettings |
XMLWriterSettings.createForXHTML() |
XMLWriterSettings |
XMLWriterSettings.getClone() |
XMLWriterSettings |
XMLWriterSettings.setBracketModeDeterminator(IXMLBracketModeDeterminator aBracketModeDeterminator) |
XMLWriterSettings |
XMLWriterSettings.setCharset(Charset aCharset)
Set the serialization charset.
|
XMLWriterSettings |
XMLWriterSettings.setEmitNamespaces(boolean bEmitNamespaces) |
XMLWriterSettings |
XMLWriterSettings.setIncorrectCharacterHandling(EXMLIncorrectCharacterHandling eIncorrectCharacterHandling)
Set the way how to handle invalid characters.
|
XMLWriterSettings |
XMLWriterSettings.setIndent(EXMLSerializeIndent eIndent)
Set the way how to indent/align
|
XMLWriterSettings |
XMLWriterSettings.setIndentationString(String sIndentationString) |
XMLWriterSettings |
XMLWriterSettings.setIndentDeterminator(IXMLIndentDeterminator aIndentDeterminator)
Set the dynamic (per-element) indent determinator to be used.
|
XMLWriterSettings |
XMLWriterSettings.setNamespaceContext(NamespaceContext aNamespaceContext)
Set the namespace context to be used.
|
XMLWriterSettings |
XMLWriterSettings.setNewLineAfterXMLDeclaration(boolean bNewLineAfterXMLDeclaration)
Change whether a newline should be printed after the XML declaration or
not.
|
XMLWriterSettings |
XMLWriterSettings.setNewLineMode(com.helger.commons.system.ENewLineMode eNewLineMode) |
XMLWriterSettings |
XMLWriterSettings.setOrderAttributesAndNamespaces(boolean bOrderAttributesAndNamespaces) |
XMLWriterSettings |
XMLWriterSettings.setPutNamespaceContextPrefixesInRoot(boolean bPutNamespaceContextPrefixesInRoot) |
XMLWriterSettings |
XMLWriterSettings.setSerializeComments(EXMLSerializeComments eSerializeComments)
Set the way how comments should be handled.
|
XMLWriterSettings |
XMLWriterSettings.setSerializeDocType(EXMLSerializeDocType eSerializeDocType)
Set the way how to handle the doc type.
|
XMLWriterSettings |
XMLWriterSettings.setSerializeVersion(EXMLSerializeVersion eSerializeVersion)
Set the preferred XML version to use.
|
XMLWriterSettings |
XMLWriterSettings.setSerializeXMLDeclaration(EXMLSerializeXMLDeclaration eSerializeXMLDecl)
Set the way how to handle the XML declaration.
|
XMLWriterSettings |
XMLWriterSettings.setSpaceOnSelfClosedElement(boolean bSpaceOnSelfClosedElement) |
XMLWriterSettings |
XMLWriterSettings.setUseDoubleQuotesForAttributes(boolean bUseDoubleQuotesForAttributes) |
XMLWriterSettings |
XMLWriterSettings.setWriteCDATAAsText(boolean bWriteCDATAAsText) |
Copyright © 2014–2021 Philip Helger. All rights reserved.