public final class BreakInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static BreakInfo |
compute(AST tree,
boolean mathml)
Construct the line break information for the denoted tree.
|
java.util.Vector<java.lang.Object> |
getChildren()
Get the children of this node.
|
int |
getLength()
Get the total length of the linear representation of the tree.
|
AST |
getTree()
Get the tree to which this break information belongs.
|
static int |
length(BreakInfo[] infos)
Get sum of the lengths of the info nodes
|
public static BreakInfo compute(AST tree, boolean mathml)
tree
- an abstract syntax tree.mathml
- true iff the mathml representation is considered.public AST getTree()
public int getLength()
public java.util.Vector<java.lang.Object> getChildren()
public static int length(BreakInfo[] infos)
infos
- the info nodes.