Top Description Constructors Methods
uk.ac.ed.ph.snuggletex

public final Class DownConvertingPostProcessor

extends Object
implements DOMPostProcessor
Class Inheritance
All Implemented Interfaces
uk.ac.ed.ph.snuggletex.DOMPostProcessor
Imports
uk.ac.ed.ph.snuggletex.utilities.MathMLDownConverter, .StylesheetManager, org.w3c.dom.Document

Trivial implementation of DOMPostProcessor that hooks into the MathMLDownConverter. See MathMLDownConverter for information on what this does.
Author
David McKain
Version
$Revision$

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Document
postProcessDOM(Document workDocument, DOMOutputOptions options, StylesheetManager stylesheetManager)

Implements uk.ac.ed.ph.snuggletex.DOMPostProcessor.postProcessDOM.

Implement this to post-process the raw DOM produced by SnuggleTeX.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DownConvertingPostProcessorback to summary
public DownConvertingPostProcessor()

Method Detail

postProcessDOMback to summary
public Document postProcessDOM(Document workDocument, DOMOutputOptions options, StylesheetManager stylesheetManager)

Implements uk.ac.ed.ph.snuggletex.DOMPostProcessor.postProcessDOM.

Doc from uk.ac.ed.ph.snuggletex.DOMPostProcessor.postProcessDOM.

Implement this to post-process the raw DOM produced by SnuggleTeX.

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.