public class Serializer extends Object
ContentDeliveryConfig
and the
SerializationUnit
instances defined there on
to perform the serialization.Constructor and Description |
---|
Serializer(Node node,
ExecutionContext executionContext)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
recursiveDOMWrite(Element element,
Writer writer)
Recursively write the DOM tree to the supplied writer.
|
void |
serialize(Writer writer)
Serialise the document to the supplied output writer instance.
|
public Serializer(Node node, ExecutionContext executionContext)
node
- Node to be serialized.executionContext
- Target device context.public void serialize(Writer writer) throws ResourceConfigurationNotFoundException, IOException
writer
- Output writer.ResourceConfigurationNotFoundException
- DOM Serialiser exception.IOException
- Unable to write to output writer.Copyright © 2020. All rights reserved.