public class XPathHelper extends Object
Constructor and Description |
---|
XPathHelper() |
Modifier and Type | Method and Description |
---|---|
static WorkflowFunctionResolver |
extractFunctionResolver(XPath xPath)
A utility to extract the WorkflowFunctionResolver from the given XPath instances.
|
static boolean |
hasWorkflowFunctionResolver(XPath xPath)
Returns true if the given XPath instance has a WorkflowFunctionResolver, false otherwise.
|
static XPath |
newXPath()
Creates a new XPath instance and initializes it with the WorkflowNamespaceContext and the
WorkflowFunctionResolver.
|
static XPath |
newXPath(Node rootNode)
Creates a new XPath instances and initializes it with the WorkflowNamespaceContext and the
WorkflowFunctionResolver.
|
public XPathHelper()
public static XPath newXPath()
public static XPath newXPath(Node rootNode)
public static WorkflowFunctionResolver extractFunctionResolver(XPath xPath)
WorkflowRuntimeException
- if the given XPath instance does not contain a WorklflowFunctionResolverpublic static boolean hasWorkflowFunctionResolver(XPath xPath)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.