Class EnumNode<ENUM extends java.lang.Enum<?>>

  • All Implemented Interfaces:
    java.lang.Cloneable

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