Class ItemHandler

    • Constructor Detail

      • ItemHandler

        public ItemHandler​(RootHandler root,
                           DefaultHandler parent)
        Creates a new item handler.
        Parameters:
        root - the root handler.
        parent - the parent handler.
    • Method Detail

      • getKey

        public Comparable getKey()
        Returns the key that has been read by the handler, or null.
        Returns:
        The key.
      • setKey

        public void setKey​(Comparable key)
        Sets the key.
        Parameters:
        key - the key.
      • getValue

        public Number getValue()
        Returns the key that has been read by the handler, or null.
        Returns:
        The value.
      • setValue

        public void setValue​(Number value)
        Sets the value.
        Parameters:
        value - the value.