org.pasoa.query.xquery.ipsixq
Class XQueryUtilities
java.lang.Object
org.pasoa.query.xquery.ipsixq.XQueryUtilities
- All Implemented Interfaces:
- XQueryResolver
- public class XQueryUtilities
- extends Object
- implements XQueryResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XQueryUtilities
public XQueryUtilities()
resolve
public Object resolve(String query,
Map documents,
Map variables)
throws QueryProblem
- Specified by:
resolve
in interface XQueryResolver
- Parameters:
query
- The actual XQuery expressiondocuments
- A map from String to Documentvariables
- A map from QName to Node, NodeList, String, Integer etc.
- Throws:
QueryProblem
resolveContainsAny
public boolean resolveContainsAny(String query,
Map documents,
Map variables)
throws QueryProblem
- Throws:
QueryProblem
resolveSequence
public javax.xml.xquery.XQResultSequence resolveSequence(String query,
Map documents,
Map variables)
throws QueryProblem
- Throws:
QueryProblem
resolveSingle
public javax.xml.xquery.XQItem resolveSingle(String query,
Map documents,
Map variables)
throws QueryProblem
- Throws:
QueryProblem