public class XPathHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
XPathHelper.QueryPart
A QueryPart knows the name of the property to be queried against on a
given DataObject, as well as the value to be used in the comparison.
|
Constructor and Description |
---|
XPathHelper() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
evaluate(java.lang.String expression,
commonj.sdo.DataObject dataObject)
Evaluate an XPath expression in the specified context and return a List
containing any types or DataObjects that match the search criteria.
|
static XPathHelper |
getInstance()
Returns the one and only instance of this singleton.
|
XPathExpression |
prepareExpression(java.lang.String expression)
Create and return an XPathExpression, using the provided
string to create the expression.
|
public static XPathHelper getInstance()
public XPathExpression prepareExpression(java.lang.String expression)
expression
- public java.util.List evaluate(java.lang.String expression, commonj.sdo.DataObject dataObject)
expression
- dataObject
-