public class UnificationLevel extends Object
Node by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean).MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean)| Constructor and Description |
|---|
UnificationLevel()
Construct an instance of representation of unification level of a
Node that is not part of unification series, i.e. both
nodeLevel and maxLevel will be null. |
UnificationLevel(Integer nodeLevel,
Integer maxLevel)
Construct an instance of representation of unification level of a
Node by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxLevel()
Returns maximal level of unification in the XML W3C DOM produced by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean) of
the Node this instance represents. |
Integer |
getNodeLevel()
Returns level of unification of a
Node in the XML W3C DOM
produced by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean) that
is represented by this instance. |
int |
hashCode() |
String |
toString() |
public UnificationLevel(Integer nodeLevel, Integer maxLevel)
Node by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean).nodeLevel - Level of unification of a Node in the XML W3C
DOM produced by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean). If
the node is not unified node the result is null.maxLevel - Maximal level of unification in the XML W3C DOM produced
by MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean)
the Node belongs to. If the node is not part of the unification
series the result is null.public UnificationLevel()
Node that is not part of unification series, i.e. both
nodeLevel and maxLevel will be null.public Integer getNodeLevel()
Node in the XML W3C DOM
produced by
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean) that
is represented by this instance.null if the
represented node is not unified node the result is.public Integer getMaxLevel()
MathMLUnificator.unifyMathMLNode(org.w3c.dom.Node, boolean) of
the Node this instance represents.null if the represented node is not part of
the unification series.Copyright © 2016. All rights reserved.