org.cubeengine.converter.node
Class BooleanNode

java.lang.Object
  extended by org.cubeengine.converter.node.Commentable
      extended by org.cubeengine.converter.node.Node<V>
          extended by org.cubeengine.converter.node.ValueNode<Boolean>
              extended by org.cubeengine.converter.node.BooleanNode

public class BooleanNode
extends ValueNode<Boolean>

A Boolean Node


Constructor Summary
BooleanNode(boolean value)
          Creates a BooleanNode
 
Method Summary
static BooleanNode falseNode()
          Creates a "False" Node
static BooleanNode of(boolean bool)
          Creates a BooleanNode
static BooleanNode trueNode()
          Creates a "True" Node
 
Methods inherited from class org.cubeengine.converter.node.ValueNode
asString, asText, getValue
 
Methods inherited from class org.cubeengine.converter.node.Node
isInherited, setInherited
 
Methods inherited from class org.cubeengine.converter.node.Commentable
getComments, setComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanNode

public BooleanNode(boolean value)
Creates a BooleanNode

Parameters:
value - a boolean
Method Detail

falseNode

public static BooleanNode falseNode()
Creates a "False" Node

Returns:
the BooleanNode

trueNode

public static BooleanNode trueNode()
Creates a "True" Node

Returns:
the BooleanNode

of

public static BooleanNode of(boolean bool)
Creates a BooleanNode

Parameters:
bool - a boolean
Returns:
the BooleanNode


Copyright © 2013–2017. All rights reserved.