public interface DOMPostProcessor
DownConvertingPostProcessor
| 限定符和类型 | 方法和说明 |
|---|---|
org.w3c.dom.Document |
postProcessDOM(org.w3c.dom.Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager)
Implement this to post-process the raw DOM produced by SnuggleTeX.
|
org.w3c.dom.Document postProcessDOM(org.w3c.dom.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.