MajorLevel - The top level order in the hierarchy. Expected to be
Integer.MinorLevel - The second (lower) level order in the hierarchy. Expected
to be Integer.public class NodeLevel<MajorLevel,MinorLevel> extends Object
MathMLUnificator.nodesByDepth data structure.| Modifier and Type | Field and Description |
|---|---|
MajorLevel |
major
The top level order the object in the hierarchy.
|
MinorLevel |
minor
The second (lower) level order the object in the hierarchy.
|
| Constructor and Description |
|---|
NodeLevel(MajorLevel major,
MinorLevel minor)
Construct an instance of representation of multi-level order of elements
in
MathMLUnificator.nodesByDepth data structure. |
public MajorLevel major
The top level order the object in the hierarchy. Usually will be
Integer.
In MathMLUnificator the major level represents depth of the
Node in the document DOM.
public MinorLevel minor
The second (lower) level order the object in the hierarchy. Usually will
be Integer.
In MathMLUnificator the minor level represents type of the
Node in MathML: 1 represents elements of
MathML operators, 2 represents other types of MathML
elements.
public NodeLevel(MajorLevel major, MinorLevel minor)
MathMLUnificator.nodesByDepth data structure.major - The top level order the object in the hierarchy. In
MathMLUnificator expected to be Integer representing
depth of the Node in the document DOM.minor - The second (lower) level order the object in the hierarchy.
In MathMLUnificator expected to be Integer representing
the type of the Node in MathML: 1
represents elements of MathML operators, 2 represents other
types of MathML elements.Copyright © 2016. All rights reserved.