public class SYIntegerNode extends SYBaseRamlNode implements IntegerNode
| Constructor and Description |
|---|
SYIntegerNode(org.yaml.snakeyaml.nodes.ScalarNode scalarNode,
String resourcePath,
ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
NodeType |
getType()
Returns the type of this node
|
Long |
getValue() |
getEndPosition, getLiteralValue, getResourceLoader, getResourcePath, getStartPosition, getYamlNode, toStringaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getContextNode, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setContextNode, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLiteralValueaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getContextNode, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, removeChildren, replaceTree, replaceWith, setChild, setContextNode, setParent, setSourcepublic SYIntegerNode(org.yaml.snakeyaml.nodes.ScalarNode scalarNode,
String resourcePath,
ResourceLoader resourceLoader)
public Long getValue()
getValue in interface IntegerNodegetValue in interface SimpleTypeNode<Long>@Nonnull public Node copy()
NodeCopyright © 2018. All rights reserved.