All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.io.MathMLRelation

java.lang.Object
   |
   +----JSci.io.MathMLRelation

public final class MathMLRelation
extends Object
The MathMLRelation class is used by the MathMLParser to encapsulate math expressions described by the <reln> tag.


Constructor Index

 o MathMLRelation()
Constructs a MathML relation.

Method Index

 o addArgument(Object)
Adds an argument to this expression.
 o getArgument(int)
Return an argument from this expression.
 o getRelation()
Returns the relation between the arguments.
 o length()
Returns the number of arguments.
 o setRelation(String)
Set the relation between the arguments.

Constructors

 o MathMLRelation
 public MathMLRelation()
Constructs a MathML relation.

Methods

 o setRelation
 public void setRelation(String op)
Set the relation between the arguments.

 o getRelation
 public String getRelation()
Returns the relation between the arguments.

 o addArgument
 public void addArgument(Object obj)
Adds an argument to this expression.

 o getArgument
 public Object getArgument(int n)
Return an argument from this expression.

 o length
 public int length()
Returns the number of arguments.


All Packages  Class Hierarchy  This Package  Previous  Next  Index