Document so that simple MathML expressions
are replaced by XHTML + CSS alternatives.
More complex MathML expressions are left as-is.
This can be used independently of SnuggleTeX if required; you may want to instantiate and
provide your own StylesheetCache in this case if you already do things with XSLT.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | MathMLDownConverter.
Trivial |
| Modifier and Type | Field and Description |
|---|---|
| private final Properties | |
| private final StylesheetManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | MathMLDownConverter(final StylesheetManager stylesheetManager, final DOMOutputOptions options)
Creates a new |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | buildCSSPropertiesDocument(Document result, Properties cssProperties)
Converts the CSS Properties specified within the <properties xmlns="http;//www.ph.ed.ac.uk/snuggletex"> <property name="..." value="..."/> ... |
| public Document |
| cssProperties | back to summary |
|---|---|
| private final Properties cssProperties | |
| stylesheetManager | back to summary |
|---|---|
| private final StylesheetManager stylesheetManager | |
| MathMLDownConverter | back to summary |
|---|---|
| public MathMLDownConverter() | |
| MathMLDownConverter | back to summary |
|---|---|
| public MathMLDownConverter(final Properties cssProperties) | |
| MathMLDownConverter | back to summary |
|---|---|
| public MathMLDownConverter(final StylesheetCache stylesheetCache) | |
| MathMLDownConverter | back to summary |
|---|---|
| public MathMLDownConverter(final StylesheetManager stylesheetManager, final DOMOutputOptions options) Creates a new | |
| MathMLDownConverter | back to summary |
|---|---|
| public MathMLDownConverter(final StylesheetManager stylesheetManager, final Properties cssProperties) | |
| buildCSSPropertiesDocument | back to summary |
|---|---|
| public void buildCSSPropertiesDocument(Document result, Properties cssProperties) Converts the CSS Properties specified within the <properties xmlns="http;//www.ph.ed.ac.uk/snuggletex"> <property name="..." value="..."/> ... </properties> | |
| downConvertDOM | back to summary |
|---|---|
| public Document downConvertDOM(Document document) | |
URIResolver that returns an XML Document corresponding to
the current session's CSS Properties when the URI
Globals#CSS_PROPERTIES_DOCUMENT_URN is used.
| Modifier and Type | Field and Description |
|---|---|
| private final Source |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Source | resolve(String href, String base)
Implements javax. Called by the processor when it encounters an xsl:include, xsl:import, or document() function. |
| cssPropertiesSource | back to summary |
|---|---|
| private final Source cssPropertiesSource | |
| CSSPropertiesURIResolver | back to summary |
|---|---|
| public CSSPropertiesURIResolver(final Document cssPropertiesDocument) | |
| resolve | back to summary |
|---|---|
| public Source resolve(String href, String base) Implements javax. Doc from javax. Called by the processor when it encounters an xsl:include, xsl:import, or document() function. | |