| Package | Description |
|---|---|
| com.helger.xml.microdom.serialize | |
| com.helger.xml.serialize.read | |
| com.helger.xml.serialize.write |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
MicroWriter.getNodeAsBytes(IMicroNode aNode,
IXMLWriterSettings aSettings)
Convert the passed micro node to an XML byte array using the provided
settings.
|
static String |
MicroWriter.getNodeAsString(IMicroNode aNode,
IXMLWriterSettings aSettings)
Convert the passed micro node to an XML string using the provided settings.
|
static com.helger.commons.state.ESuccess |
MicroWriter.writeToFile(IMicroNode aNode,
File aFile,
IXMLWriterSettings aSettings)
Write a Micro Node to a file.
|
static com.helger.commons.state.ESuccess |
MicroWriter.writeToFile(IMicroNode aNode,
Path aPath,
IXMLWriterSettings aSettings)
Write a Micro Node to a file.
|
static com.helger.commons.state.ESuccess |
MicroWriter.writeToStream(IMicroNode aNode,
OutputStream aOS,
IXMLWriterSettings aSettings)
Write a Micro Node to an
OutputStream. |
static com.helger.commons.state.ESuccess |
MicroWriter.writeToWriter(IMicroNode aNode,
Writer aWriter,
IXMLWriterSettings aSettings)
Write a Micro Node to a
Writer. |
| Constructor and Description |
|---|
MicroDOMInputStreamProvider(IMicroNode aNode,
IXMLWriterSettings aSettings)
Constructor for micro nodes.
|
MicroSerializer(IXMLWriterSettings aSettings) |
| Constructor and Description |
|---|
DOMInputStreamProvider(Node aNode,
IXMLWriterSettings aSettings)
Constructor for W3C nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLWriterSettings
Default implementation of the
IXMLWriterSettings interface. |
| Modifier and Type | Field and Description |
|---|---|
static IXMLWriterSettings |
XMLWriterSettings.DEFAULT_XML_SETTINGS
The default settings to use
|
protected IXMLWriterSettings |
AbstractXMLSerializer.m_aSettings
The serialization settings
|
| Modifier and Type | Method and Description |
|---|---|
IXMLWriterSettings |
AbstractXMLSerializer.getSettings() |
IXMLWriterSettings |
XMLEmitter.getXMLWriterSettings() |
| Modifier and Type | Method and Description |
|---|---|
static SafeXMLStreamWriter |
SafeXMLStreamWriter.create(OutputStream aOS,
IXMLWriterSettings aSettings) |
static SafeXMLStreamWriter |
SafeXMLStreamWriter.create(Writer aWriter,
IXMLWriterSettings aSettings) |
protected XMLEmitter |
AbstractXMLSerializer.createXMLEmitter(Writer aWriter,
IXMLWriterSettings aSettings) |
static byte[] |
XMLWriter.getNodeAsBytes(Node aNode,
IXMLWriterSettings aSettings)
Convert the passed DOM node to an XML byte array using the provided XML
writer settings.
|
static String |
XMLWriter.getNodeAsString(Node aNode,
IXMLWriterSettings aSettings)
Convert the passed DOM node to an XML string using the provided XML writer
settings.
|
static com.helger.commons.state.ESuccess |
XMLWriter.writeToStream(Node aNode,
OutputStream aOS,
IXMLWriterSettings aSettings)
Write a node to an
OutputStream using custom settings. |
static com.helger.commons.state.ESuccess |
XMLWriter.writeToWriter(Node aNode,
Writer aWriter,
IXMLWriterSettings aSettings)
Write a node to a
Writer using the default settings. |
| Constructor and Description |
|---|
AbstractXMLSerializer(IXMLWriterSettings aSettings) |
XMLEmitter(Writer aWriter,
IXMLWriterSettings aSettings) |
XMLSerializer(IXMLWriterSettings aSettings) |
XMLWriterSettings(IXMLWriterSettings aOther)
Copy constructor.
|
Copyright © 2014–2018 Philip Helger. All rights reserved.