Class BooleanNode

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class BooleanNode
    extends LeafNode<java.lang.Boolean>
    The BooleanNode class represents a boolean in a configuration tree.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doSetValue​(java.lang.String value)  
      java.lang.String getValue()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      java.lang.String toString()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      java.lang.Boolean value()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BooleanNode

        public BooleanNode()
      • BooleanNode

        public BooleanNode​(boolean value)
    • Method Detail

      • value

        public java.lang.Boolean value()
        Overrides:
        value in class LeafNode<java.lang.Boolean>
      • getValue

        public java.lang.String getValue()
        Description copied from class: LeafNode
        Subclasses must implement this, in compliance with the rules given in the return tag.
        Specified by:
        getValue in class LeafNode<java.lang.Boolean>
        Returns:
        the String representation of the node value, or the 'null' object if the node value is null.
      • toString

        public java.lang.String toString()
        Description copied from class: LeafNode
        Subclasses must implement this, in compliance with the rules given in the return tag.
        Specified by:
        toString in class LeafNode<java.lang.Boolean>
        Returns:
        the String representation of the node value, or the string "(null)" if the value is null.
      • doSetValue

        protected boolean doSetValue​(@NonNull
                                     java.lang.String value)
        Specified by:
        doSetValue in class LeafNode<java.lang.Boolean>