public class NodeNumber extends NodeValue
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mString |
Modifier and Type | Method and Description |
---|---|
int |
getAsInt()
Returns the value as an int value.
|
java.lang.String |
getAsString(int columnOffset,
boolean hasLabel)
Delivers recursively a node and all of its children as a formatted string.
|
get, getAsString, getAsStrippedString, getNext, indent
public java.lang.String getAsString(int columnOffset, boolean hasLabel)
Node
getAsString
in class Node
columnOffset
- Number of spaces an element is indented.hasLabel
- If true this node starts in a line with a label. The
element must not be indented then but follows immediately
after the label.public int getAsInt()