public class SYBooleanNode extends SYBaseRamlNode implements BooleanNode
| Constructor and Description |
|---|
SYBooleanNode(org.yaml.snakeyaml.nodes.ScalarNode scalarNode) |
SYBooleanNode(SYBooleanNode node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
NodeType |
getType()
Returns the type of this node
|
Boolean |
getValue() |
String |
toString() |
getEndPosition, getLiteralValue, getStartPosition, getYamlNodeaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLiteralValueaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, replaceWith, setChild, setParent, setSourcepublic SYBooleanNode(SYBooleanNode node)
public SYBooleanNode(org.yaml.snakeyaml.nodes.ScalarNode scalarNode)
public Boolean getValue()
getValue in interface BooleanNodegetValue in interface SimpleTypeNode<Boolean>@Nonnull public Node copy()
NodeCopyright © 2016. All rights reserved.