org.activemath.exercises.openmath
Class ExpressionTransformerYacas

java.lang.Object
  extended by org.activemath.exercises.openmath.ExpressionTransformer
      extended by org.activemath.exercises.openmath.ExpressionTransformerYacas

public class ExpressionTransformerYacas
extends ExpressionTransformer


Constructor Summary
ExpressionTransformerYacas()
           
 
Method Summary
 org.jdom.Element transformFromService(org.jdom.Element expressionOmobj)
          Transform the expression from the format provided by the service.
 org.jdom.Element transformToService(org.jdom.Element expressionOmobj)
          Transform the expression to the format required by the service.
 
Methods inherited from class org.activemath.exercises.openmath.ExpressionTransformer
compileStylesheet, getStylesheet, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionTransformerYacas

public ExpressionTransformerYacas()
Method Detail

transformToService

public org.jdom.Element transformToService(org.jdom.Element expressionOmobj)
Description copied from class: ExpressionTransformer
Transform the expression to the format required by the service. The version in the base class just returns the given expression without modification.

Overrides:
transformToService in class ExpressionTransformer
Parameters:
expressionOmobj - Mathematical expression to be transformed, as a JDOM tree.
Returns:
transformed expression, as a JDOM tree.

transformFromService

public org.jdom.Element transformFromService(org.jdom.Element expressionOmobj)
Description copied from class: ExpressionTransformer
Transform the expression from the format provided by the service. The version in the base class just returns the given expression without modification.

Overrides:
transformFromService in class ExpressionTransformer
Parameters:
expressionOmobj - Mathematical expression to be transformed, as a JDOM tree.
Returns:
transformed expression, as a JDOM tree.