Package org.apache.commons.jxpath

# 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.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getValue()`
  Returns the contained value.
  `void`
  `setValue(Object value)`
  Modifies the value contained by this container.

- ## Method Details

  - ### 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.