Interface Container

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    DocumentContainer, XMLDocumentContainer

    public interface Container
    extends Serializable
    A Container is an object implementing an indirection mechanism transparent to JXPath. For example, if property "foo" of the context node has a Container as its value, the XPath "foo" will produce the contents of that Container, rather than the container itself.
    Version:
    $Revision: 652925 $ $Date: 2008-05-02 17:05:41 -0500 (Fri, 02 May 2008) $
    Author:
    Dmitri Plotnikov
    • Method Detail

      • getValue

        Object getValue()
        Returns the contained value.
        Returns:
        Object value
      • setValue

        void setValue​(Object value)
        Modifies the value contained by this container. May throw UnsupportedOperationException.
        Parameters:
        value - Object value to set.