net.sf.sasl.language.placeholder.syntax.types
Class BooleanNode

java.lang.Object
  extended by net.sf.sasl.language.placeholder.syntax.ASTNode
      extended by net.sf.sasl.language.placeholder.syntax.types.TypeValueNode<Boolean>
          extended by net.sf.sasl.language.placeholder.syntax.types.BooleanNode

public class BooleanNode
extends TypeValueNode<Boolean>

Defines a boolean node that holds a boolean value.

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer

Field Summary
 
Fields inherited from class net.sf.sasl.language.placeholder.syntax.ASTNode
INDENT_PER_DEPTH, INDENT_STRING
 
Constructor Summary
BooleanNode(String value)
          Creates a boolean node with the given string encoded boolean value and no parent node.
BooleanNode(String value, ASTNode parentNode)
          Creates a boolean node with the given string encoded boolean value and the given parent node.
 
Method Summary
 
Methods inherited from class net.sf.sasl.language.placeholder.syntax.types.TypeValueNode
getTypeValue, prettyPrint, setTypeValue
 
Methods inherited from class net.sf.sasl.language.placeholder.syntax.ASTNode
getChildNodes, getParentNode, isLeafNode, isRootNode, setParentNode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanNode

public BooleanNode(String value)
            throws IllegalArgumentException
Creates a boolean node with the given string encoded boolean value and no parent node.

Parameters:
value -
Throws:
IllegalArgumentException
Since:
0.0.1 (sasl-common-aspect-library)

BooleanNode

public BooleanNode(String value,
                   ASTNode parentNode)
            throws IllegalArgumentException
Creates a boolean node with the given string encoded boolean value and the given parent node.

Parameters:
value - non null valid boolean string.
parentNode - null or non null.
Throws:
IllegalArgumentException
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.