org.kuali.rice.kew.xml.xstream
Class XStreamSafeSearchFunction

java.lang.Object
  extended by org.kuali.rice.kew.xml.xstream.XStreamSafeSearchFunction
All Implemented Interfaces:
XPathFunction

public class XStreamSafeSearchFunction
extends Object
implements XPathFunction

An XPathFunction which will run XStream safe XPath queries.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
XStreamSafeEvaluator

Field Summary
private static XStreamSafeEvaluator evaluator
           
private  Node rootNode
           
private  XPath xpath
           
 
Constructor Summary
XStreamSafeSearchFunction(Node rootNode, XPath xpath)
           
 
Method Summary
 Object evaluate(List parameters)
           
 XPath getXpath()
           
private  String getXPathExpressionParameter(List parameters)
           
 void setXpath(XPath xpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootNode

private final Node rootNode

xpath

private XPath xpath

evaluator

private static XStreamSafeEvaluator evaluator
Constructor Detail

XStreamSafeSearchFunction

public XStreamSafeSearchFunction(Node rootNode,
                                 XPath xpath)
Method Detail

evaluate

public Object evaluate(List parameters)
                throws XPathFunctionException
Specified by:
evaluate in interface XPathFunction
Throws:
XPathFunctionException

getXPathExpressionParameter

private String getXPathExpressionParameter(List parameters)
                                    throws XPathFunctionException
Throws:
XPathFunctionException

getXpath

public XPath getXpath()

setXpath

public void setXpath(XPath xpath)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.