org.apache.commons.jxpath
Interface Container

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DocumentContainer, XMLDocumentContainer

public interface Container
extends java.io.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 Summary
 java.lang.Object getValue()
          Returns the contained value.
 void setValue(java.lang.Object value)
          Modifies the value contained by this container.
 

Method Detail

getValue

java.lang.Object getValue()
Returns the contained value.

Returns:
Object value

setValue

void setValue(java.lang.Object value)
Modifies the value contained by this container. May throw UnsupportedOperationException.

Parameters:
value - Object value to set.


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.