Top Classes Enums
module snuggletex.upconversion

Package uk.ac.ed.ph.snuggletex.upconversion


Class Summary

Modifier and TypeClass and Description
public class
ElementWrapper

Trivial "wrapper" for a DOM Element that makes it suitable for storing in a Map.

public class
IllegalUpconversionOptionException

This Exception is thrown when an attempt is made to set an illegal assertion, option or value using the UpConversionOptions API.

public class
MathMLUpConverter

Standalone utility class for "up-converting" MathML Documents created by either SnuggleTeX or ASCIIMathML as follows:

  • Presentation MathML is "enhanced" with extra semantics
  • Conversion to Content MathML is optionally attempted (assuming PMathML follows certain conventions)
  • Conversion to Maxima input is optionally attempted (assuming PMathML follows certain conventions)
public class
UpConversionFailure

This is the equivalent of an InputError for the up-conversion process, indicating that a particular island of Presentation MathML created by SnuggleTeX could not be up-converted to either Content MathML or Maxima input form.

public class
UpConversionOptionDefinitions

Defines the various options and values for the up-conversion process.

public class
UpConversionOptions

Encapsulates the various options and assumptions that can be used when running the up-conversion process.

public class
UpConversionUtilities

Some static utility methods for the up-conversion process, including methods for extracting errors.

public class
UpConvertingPostProcessor

Implementation of DOMPostProcessor that bootstraps into MathMLUpConverter, providing the functionality offered by it.

Enum Summary

Modifier and TypeEnum and Description
public enum
UpConversionErrorCode

Enumerates the various types of client-induced errors that can arise when using the SnuggleTeX Up-Conversion process.

public enum
UpConversionErrorGroup

Enumerates the various ErrorGroups for the up-conversion module.