Class DOMNode

    • Field Detail

      • m_Value

        protected Object m_Value
        the value.
    • Constructor Detail

      • DOMNode

        public DOMNode​(String label,
                       Object value)
        Initializes the node with the specified label.
        Parameters:
        label - the label for this node
        value - the DOM object to attach, can be null
    • Method Detail

      • getLabel

        public String getLabel()
        Returns the label for this node.
        Returns:
        the label
      • hasValue

        public boolean hasValue()
        Checks whether there is any DOM object attached.
        Returns:
        true if a value is attached
      • getValue

        public Object getValue()
        Returns the value for this node.
        Returns:
        the value