|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.presentation.xsl.symbolpresentation.Merger
public class Merger
XSLT tempaltes for the OpenMath symbols from <symbolpresentation> element in ActiveMath are generated at startup time. The class is instanciated at the ActiveMath server startup time.
| Constructor Summary | |
|---|---|
Merger()
|
|
| Method Summary | |
|---|---|
static void |
checkNeedToReload()
Checks the time of the last XSL output and reproduces the XSL if anything was changed since then. |
org.jdom.Document |
getSourceDoc()
|
static void |
main(String[] args)
|
void |
merge()
This method get the List of <symbolpresentation> elements as JDOM tree, which is sent for code decoration to PresentationTagDecorator. |
void |
onActivemathEvent(ActivemathEvent event)
Handle an Activemath event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Merger()
| Method Detail |
|---|
public org.jdom.Document getSourceDoc()
public void onActivemathEvent(ActivemathEvent event)
ActivemathEventListenerThis method must return as quickly as possible and must not block the calling thread for long.
onActivemathEvent in interface ActivemathEventListenerevent - the event to respond topublic static void checkNeedToReload()
public void merge()
throws Exception
PresentationTagDecorator.
After it, it applies XSLT stylehsheet on the decorated code
which generates the XSLT templates for the symbols for the
output formats, i.e. HTML, MathML and LaTeX.
Exception
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||