org.activemath.presentation.xsl.symbolpresentation
Class PresentationTagCollector

java.lang.Object
  extended by org.activemath.presentation.xsl.symbolpresentation.PresentationTagCollector

public class PresentationTagCollector
extends Object

This class extracts all the symbolpresentation tags from all current collections in the ActiveMath environment. It also merge the all notation element inside the presentation tag group by symbol id.


Constructor Summary
PresentationTagCollector(Subconfiguration config)
          A constructor that reads its properties from the Manager properties and requires the prefix OmdocJdom.
 
Method Summary
 org.jdom.Document getPresentationTags()
          returns the JDom document object containing symbolpresentation tags.
 org.jdom.Element merge(Vector list)
          All the <presentationsymbol> elements, pointing to the same symbol, are merge into one <presentationsymbol>, which is returned as Element object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationTagCollector

public PresentationTagCollector(Subconfiguration config)
A constructor that reads its properties from the Manager properties and requires the prefix OmdocJdom. It reads the collections available in the system.

Parameters:
config -
Method Detail

getPresentationTags

public org.jdom.Document getPresentationTags()
                                      throws MBaseException
returns the JDom document object containing symbolpresentation tags.

Returns:
Throws:
MBaseException

merge

public org.jdom.Element merge(Vector list)
All the <presentationsymbol> elements, pointing to the same symbol, are merge into one <presentationsymbol>, which is returned as Element object.

Parameters:
list -
Returns: