org.activemath.exercises.openmath
Class ExpressionTransformerYacas
java.lang.Object
org.activemath.exercises.openmath.ExpressionTransformer
org.activemath.exercises.openmath.ExpressionTransformerYacas
public class ExpressionTransformerYacas
- extends ExpressionTransformer
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionTransformerYacas
public ExpressionTransformerYacas()
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.