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

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

public class IntegerNode
extends TypeValueNode<BigInteger>

Defines an integer node that can store an integer number.

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
IntegerNode(String value)
          Creates an integer node with the given string encoded integer value and no parent node.
IntegerNode(String value, ASTNode parentNode)
          Creates an integer node with the given string encoded integer value and 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

IntegerNode

public IntegerNode(String value)
            throws IllegalArgumentException
Creates an integer node with the given string encoded integer value and no parent node.

Parameters:
value - non null integer number.
parentNode - null or non null parent node.
Throws:
IllegalArgumentException - if parameter value is null or no valid integer number.
Since:
0.0.1 (sasl-common-aspect-library)

IntegerNode

public IntegerNode(String value,
                   ASTNode parentNode)
            throws IllegalArgumentException
Creates an integer node with the given string encoded integer value and parent node.

Parameters:
value - non null integer number.
parentNode - null or non null parent node.
Throws:
IllegalArgumentException - if parameter value is null or no valid integer number.
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.