org.cdlib.xtf.xslt
Class FreeformQuery

Object
  extended by FreeformQuery

public class FreeformQuery
extends Object

Utility function to parse a "freeform" google-style query into XTF compatible format.

Author:
Martin Haye

Constructor Summary
FreeformQuery()
           
 
Method Summary
static NodeInfo parse(XPathContext context, String queryStr)
          Driver for calling from Saxon.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeformQuery

public FreeformQuery()
Method Detail

parse

public static NodeInfo parse(XPathContext context,
                             String queryStr)
                      throws ParseException
Driver for calling from Saxon. Returns result as a traversible XML tree.

Throws:
ParseException