public class DefaultDocumentBuilder extends Object implements DocumentBuilder
| Constructor and Description |
|---|
DefaultDocumentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildDocument(TransformContext context,
OutputDocument source,
Writer target)
Writes the final content to the [target] Writer by looking while injecting the code for
the individual dependency sections (imports, directives etc) at the correct position.
|
public void buildDocument(TransformContext context, OutputDocument source, Writer target) throws TCDLTransformerException
buildDocument in interface DocumentBuildercontext - TransformContext offering access to context attributessource - OutputDocument that must be serializedtarget - Writer to serialize toTCDLTransformerException - when an error occurs during serialization of the output documentTCDLTransformerExceptionCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries