|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.rule.xmlrouting.XPathHelper
public class XPathHelper
Provides utilities for obtaining XPath instances which are "good-to-go" with access to the Workflow namespace and custom XPath functions.
| Constructor Summary | |
|---|---|
XPathHelper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathHelper()
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||