public final class DownConvertingPostProcessor extends java.lang.Object implements DOMPostProcessor
DOMPostProcessor that hooks into the
MathMLDownConverter. See MathMLDownConverter for information on what
this does.| 构造器和说明 |
|---|
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.
|
public org.w3c.dom.Document postProcessDOM(org.w3c.dom.Document workDocument,
DOMOutputOptions options,
StylesheetManager stylesheetManager)
DOMPostProcessor
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.
postProcessDOM 在接口中 DOMPostProcessorworkDocument - 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.