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.
-
MathMLRelation()
- Constructs a MathML relation.
-
addArgument(Object)
- Adds an argument to this expression.
-
getArgument(int)
- Return an argument from this expression.
-
getRelation()
- Returns the relation between the arguments.
-
length()
- Returns the number of arguments.
-
setRelation(String)
- Set the relation between the arguments.
MathMLRelation
public MathMLRelation()
- Constructs a MathML relation.
setRelation
public void setRelation(String op)
- Set the relation between the arguments.
getRelation
public String getRelation()
- Returns the relation between the arguments.
addArgument
public void addArgument(Object obj)
- Adds an argument to this expression.
getArgument
public Object getArgument(int n)
- Return an argument from this expression.
length
public int length()
- Returns the number of arguments.
All Packages Class Hierarchy This Package Previous Next Index