org.apache.commons.jxpath
Interface ExtendedKeyManager

All Superinterfaces:
KeyManager

public interface ExtendedKeyManager
extends KeyManager

More complete implementation for the XPath "key()" function. Returns NodeSet results and allows Object values for better compatibility with non-XML graphs.

Since:
JXPath 1.3
Version:
$Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
Author:
Sergey Vladimirov, Matt Benson

Method Summary
 NodeSet getNodeSetByKey(JXPathContext context, String key, Object value)
          Find a NodeSet by key/value.
 
Methods inherited from interface org.apache.commons.jxpath.KeyManager
getPointerByKey
 

Method Detail

getNodeSetByKey

NodeSet getNodeSetByKey(JXPathContext context,
                        String key,
                        Object value)
Find a NodeSet by key/value.

Parameters:
context - base
key - String
value - Object
Returns:
NodeSet found


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.