Top Interfaces Classes
module snuggletex.core

Package uk.ac.ed.ph.snuggletex.utilities


Interface Summary

Modifier and TypeInterface and Description
public interface
StylesheetCache

Encapsulates a simple cache for the internal XSLT stylesheets used by SnuggleTeX.

public interface
TransformerFactoryChooser

This interface allows you to specify how XSLT implementations should be instantiated.

Class Summary

Modifier and TypeClass and Description
public class
ClassPathURIResolver

Trivial implementation of URIResolver that looks for resources via the ClassLoader.

public class
CSSUtilities

Some handy utility methods for managing SnuggleTeX CSS.

public class
DefaultTransformerFactoryChooser

Default implementation of TransformerFactoryChooser that uses the usual JAXP factory lookup mechanisms for XSLT 1.0 stylesheets, and hard-codes to SAXON for XSLT 2.0 stylesheets.

public class
DoNothingStylesheetCache

Trivial implementation of StylesheetCache that actually doesn't cache anything at all.

public class
LaTeXIndenter

Simple utility class that does very basic indenting of LaTeX.

public class
MathMLDownConverter

This utility class "down-converts" a DOM Document so that simple MathML expressions are replaced by XHTML + CSS alternatives.

public abstract class
MathMLPostProcessor

Convenient base for DOMPostProcessors that might want to do interesting things to MathML islands, leaving everything else unchanged.

public class
MathMLUtilities

Some general utility methods for manipulating MathML via the DOM.

public class
MessageFormatter

Utility class that formats an InputError in various ways.

public class
SaxonTransformerFactoryChooser

Implementation of TransformerFactoryChooser that is hard-wired to use whichever version of Saxon can be found in the ClassPath under the net.sf.saxon package hierarchy, thus providing support for XSLT 2.0.

public class
SerializationOptions

Implementation of SerializationSpecifier that can be used for some of the utility methods in MathMLUtilities.

public class
SimpleStylesheetCache

Trivial implementation of StylesheetCache that simply caches all stylesheets in a HashMap.

public class
SnuggleUtilities

A collection of occasionally useful SnuggleTeX-related utility methods, as well as some more general LaTeX stuff.

public class
StylesheetManager

Trivial helper class to manage the loading of SnuggleTeX's internal stylesheets, using a StylesheetCache to cache stylesheets for performance.

public class
UnwrappedParallelMathMLDOM

Trivial wrapper Object that encapsulates the results of MathMLUtilities#unwrapParallelMathMLDOM(Element).