Class EnumNode<ENUM extends Enum<?>>

  • All Implemented Interfaces:
    Cloneable

    public abstract class EnumNode<ENUM extends Enum<?>>
    extends LeafNode<ENUM>
    The EnumNode class is a superclass for Enumerations in a configuration tree.
    • Constructor Detail

      • EnumNode

        public EnumNode()
      • EnumNode

        public EnumNode​(boolean b)
    • Method Detail

      • toString

        public 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<ENUM extends Enum<?>>
        Returns:
        the String representation of the node value, or the string "(null)" if the value is null.
      • getValue

        public 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<ENUM extends Enum<?>>
        Returns:
        the String representation of the node value, or the 'null' object if the node value is null.