public final class MathMLNode extends Object
MathMLElement.MATH.
There's no checking whether this structure is actually a valid MathML tree.| Constructor and Description |
|---|
MathMLNode() |
| Modifier and Type | Method and Description |
|---|---|
Set<XmlAttribute> |
getAttributes()
Returns set of attributes of this node.
|
List<MathMLNode> |
getChildren()
Returns a list of child nodes of this node.
|
MathMLNode |
getParent()
Returns parent node of this node.
|
MathMLElement |
getType()
Return type of this node.
|
String |
getValue()
Returns text value of this node.
|
boolean |
isProcessed() |
void |
setParent(MathMLNode parent)
Sets parent node of this node.
|
void |
setProcessed() |
void |
setType(MathMLElement type)
Sets type of this node.
|
void |
setValue(String value)
Sets text value of this node.
|
String |
toString() |
public MathMLNode getParent()
public void setParent(MathMLNode parent)
parent - Parent node.public MathMLElement getType()
public void setType(MathMLElement type)
type - Type.@Nonnull public List<MathMLNode> getChildren()
null. If there are no children, returns
empty list.@Nullable public String getValue()
nullpublic void setValue(String value)
value - Text value.@Nonnull public Set<XmlAttribute> getAttributes()
null. If there are no children, returns
empty set.public boolean isProcessed()
public void setProcessed()
Copyright © 2013. All Rights Reserved.