public interface DOMPostProcessor
DownConvertingPostProcessor
DownConvertingPostProcessor| Modifier and Type | Method and Description |
|---|---|
Document |
postProcessDOM(Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager)
Implement this to post-process the raw DOM produced by SnuggleTeX.
|
Document postProcessDOM(Document workDocument, DOMOutputOptions options, StylesheetManager stylesheetManager)
You will be given an entire DOM Document to analyse, containing a root element
called root in the SnuggleConstants.SNUGGLETEX_NAMESPACE namespace.
You should create a new Document and return it. The children of the root element will end up being the Nodes added to the final DOM.
You MUST NOT modify the workDocument that is passed to you.
workDocument - incoming DOM to be analysed for post-processingoptions - DOMOutputOptions specified by callerstylesheetManager - Instance of StylesheetManager that can be used to
load and manage XSLT stylesheets.Copyright © 2008–2026 The University of Edinburgh. All rights reserved.