public interface DocumentBuilder
In almost all situations the DefaultDocumentBuilder will be the only implementation ever needed of a DocumentBuilder, but for rare cases it is possible to implement the DocumentBuilder differently.
Modifier and Type | Method and Description |
---|---|
void |
buildDocument(TransformContext context,
OutputDocument source,
Writer target)
Responsible for serializing the output document to the [target] Writer.
|
void buildDocument(TransformContext context, OutputDocument source, Writer target) throws TCDLTransformerException
context
- TransformContext offering access to context attributessource
- OutputDocument that must be serializedtarget
- Writer to serialize toTCDLTransformerException
- when an error occurs during serialization of the output documentTCDLTransformerException
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries