Uses of Class
org.jafer.query.QueryException

Packages that use QueryException
org.jafer.interfaces   
org.jafer.query   
org.jafer.query.converter   
org.jafer.servlet   
 

Uses of QueryException in org.jafer.interfaces
 

Methods in org.jafer.interfaces that throw QueryException
 org.w3c.dom.Node QueryBuilder.and(org.w3c.dom.Node leftNode, org.w3c.dom.Node rightNode)
          Produces an AND node from 2 nodes.
 org.w3c.dom.Node QueryBuilder.getNode(int[][] attTypesValues, java.lang.String term)
          Creates a basic query node incorporating the attributes and term supplied.
 org.w3c.dom.Node QueryBuilder.getNode(int[] attributes, java.lang.String term)
          Creates a basic query node incorporating the attributes and term supplied.
 org.w3c.dom.Node QueryBuilder.getNode(int useAttribute, java.lang.String term)
          Creates a basic query node incorporating the attribute and term supplied.
 org.w3c.dom.Node QueryBuilder.getNode(java.lang.String[] termAndAttributes)
          Creates a basic query node incorporating the term and attributes supplied.
 org.w3c.dom.Node QueryBuilder.getNode(java.lang.String attribute, java.lang.String term)
          Creates a basic query node incorporating the attribute and term supplied.
 org.w3c.dom.Node QueryBuilder.not(org.w3c.dom.Node inputNode)
          Produces a NOT node from a node.
 org.w3c.dom.Node QueryBuilder.or(org.w3c.dom.Node leftNode, org.w3c.dom.Node rightNode)
          Produces an OR node from 2 nodes.
 

Uses of QueryException in org.jafer.query
 

Methods in org.jafer.query that throw QueryException
 org.w3c.dom.Node QueryBuilder.and(org.w3c.dom.Node leftNode, org.w3c.dom.Node rightNode)
          Produces an AND node from 2 nodes, which can be query or Boolean nodes.
 org.w3c.dom.Node QueryBuilder.and(java.util.Vector useAttributes, java.util.Vector terms)
          Produces an AND node from a pair of attributes, or a tree of AND nodes if more than 2 attributes are given.
private  org.w3c.dom.Node QueryBuilder.buildConstraintModelNode(int[] attributes, java.lang.String term)
          Builds an XML representation of a query, using Bib1 attributes.
private  java.lang.String[] QueryBuilder.getConstraintModelData(org.w3c.dom.Node cM)
           
 java.lang.String[][] QueryBuilder.getContent(org.w3c.dom.Node queryNode)
          Method returns a representation of an XML query as a 2 dimensional String[].
 java.lang.String CQLQuery.getCQLQuery()
          Get the constructed query object as CQL
 org.w3c.dom.Node QueryBuilder.getNode(int[][] attTypesValues, java.lang.String term)
          Creates a basic query node incorporating the term and attributes supplied.
 org.w3c.dom.Node QueryBuilder.getNode(int[] attributes, java.lang.String term)
          Creates a basic query node incorporating the attributes and term supplied.
 org.w3c.dom.Node QueryBuilder.getNode(int useAttribute, java.lang.String term)
          Creates a basic query node incorporating the Use attribute and term supplied.
 org.w3c.dom.Node QueryBuilder.getNode(java.lang.String queryExp)
          Create a Node from a query string
 org.w3c.dom.Node QueryBuilder.getNode(java.lang.String[] termAndAttributes)
          Creates a basic query node incorporating the term and attributes supplied.
 org.w3c.dom.Node QueryBuilder.getNode(java.lang.String useAttribute, java.lang.String term)
          Creates a basic query node incorporating the Use attribute and term supplied.
private  void QueryBuilder.getNodeData(org.w3c.dom.Node node, java.util.Vector nodeData)
           
 java.lang.String RPNQuery.getXML()
          This method returns a string representation of the XML for the current query.
 java.lang.String QueryConverter.getXML()
          This method returns a string representation of the XML for the current query
 java.lang.String JaferQuery.getXML()
          This method returns a string representation of the XML for the current query
 java.lang.String CQLQuery.getXML()
          This method returns a string representation of the XML for the current query
private  void JaferQuery.initialise(org.w3c.dom.Node query, boolean allowTopLevelNot)
          Initialises the JaferQuery by normalising the query and optionally allowing a NOT clause at the start of the query.
private  int QueryBuilder.lookUpUseAttribute(java.lang.String attributeString)
           
 org.w3c.dom.Node QueryBuilder.not(org.w3c.dom.Node inputNode)
          Produces a NOT node from the supplied node, which can be a query or Boolean node.
 org.w3c.dom.Node QueryBuilder.or(org.w3c.dom.Node leftNode, org.w3c.dom.Node rightNode)
          Produces an OR node from 2 nodes, which can be query or Boolean nodes.
 org.w3c.dom.Node QueryBuilder.or(java.util.Vector useAttributes, java.util.Vector terms)
          Produces an OR node from a pair of attributes, or a tree of OR nodes if more than 2 attributes are given.
static JaferQuery QueryParser.parseQuery(JaferQuery query)
           
static org.w3c.dom.Node QueryParser.parseQuery(org.w3c.dom.Node query)
           
static java.lang.Object QueryParser.parseQuery(java.lang.Object query)
          Most of the processing previously done here has been moved to XMLRPNQuery class.
static z3950.v3.RPNQuery QueryParser.parseQuery(z3950.v3.RPNQuery query)
           
 CQLQuery RPNQuery.toCQLQuery()
          This method converts the current Query representation into a CQLQuery object
 CQLQuery QueryConverter.toCQLQuery()
          This method converts the current Query representation into a CQLQuery object
 CQLQuery JaferQuery.toCQLQuery()
          This method converts the current Query representation into a CQLQuery object
 JaferQuery RPNQuery.toJaferQuery()
          This method converts the current Query representation into a JaferQuery object
 JaferQuery QueryConverter.toJaferQuery()
          This method converts the current Query representation into a JaferQuery object
 JaferQuery CQLQuery.toJaferQuery()
          This method converts the current Query representation into a JaferQuery object
 RPNQuery QueryConverter.toRPNQuery()
          This method converts the current Query representation into a RPNQuery object
 RPNQuery JaferQuery.toRPNQuery()
          This method converts the current Query representation into a RPNQuery object
 RPNQuery CQLQuery.toRPNQuery()
          This method converts the current Query representation into a RPNQuery object
 

Constructors in org.jafer.query that throw QueryException
CQLQuery(JaferQuery jaferQuery)
          constructor
CQLQuery(org.w3c.dom.Node xcql)
          constructor
CQLQuery(java.lang.String cql)
          constructor
JaferQuery(org.w3c.dom.Node query)
          Constructor that forbids a NOT clause at the start of the query to avoid conversion errors when translating to a query language that does not support UNARY not clauses.
JaferQuery(org.w3c.dom.Node query, boolean allowTopLevelNot)
          Constructor that optionally allows a NOT clause at the start of the query
RPNQuery(JaferQuery jaferQuery)
          constructor
 

Uses of QueryException in org.jafer.query.converter
 

Methods in org.jafer.query.converter that throw QueryException
private static org.w3c.dom.Node RPNQueryConverter.buildConstraintModel(z3950.v3.RPNStructure structure, QueryBuilder builder)
          Builds a jafer constraint model node from the supplied rpnStructure
static org.w3c.dom.Node CQLQueryConverter.convertCQLtoXCQL(java.lang.String cql)
          This method converts a CQL query to XCQL
static z3950.v3.RPNQuery RPNQueryConverter.convertJaferToRPN(JaferQuery jaferQuery)
          This method converts a jafer query to the z3950.v3.RPNQuery format.
static org.w3c.dom.Node CQLQueryConverter.convertJaferToXCQL(JaferQuery jaferQuery)
          This method converts a jafer query to the CQL format
static JaferQuery RPNQueryConverter.convertRPNToJafer(z3950.v3.RPNQuery rpnQuery)
          This method converts a z3950.v3.RPNQuery to the JaferQuery format
static java.lang.String CQLQueryConverter.convertXCQLtoCQL(CQLQuery xcql)
          This method converts an XCQL query to the straight CQL
static JaferQuery CQLQueryConverter.convertXCQLToJafer(CQLQuery cqlQuery)
          This method converts a cql query to the JaferQuery format
protected static int Converter.findNotChild(org.w3c.dom.Node node)
          Finds the position of the NOT node from the specified node
protected static org.w3c.dom.Node Converter.getFirstChild(org.w3c.dom.Node sourceNode)
          Utility method to get the first c for the supplied node
protected static java.lang.String Converter.getNodeValue(org.w3c.dom.Node node)
          Utility method to get the value of the node
protected static org.w3c.dom.Node Converter.getSecondChild(org.w3c.dom.Node sourceNode)
          Utility method to get the second child for the supplied node
static org.w3c.dom.Node JaferQueryConverter.normaliseJaferQuery(org.w3c.dom.Node jaferQueryNode)
          normalises the jafer query node to apply demorgans laws and clear up any double ngatives in the query
private static z3950.v3.RPNStructure RPNQueryConverter.processAndNode(org.w3c.dom.Node node)
          Process an AND jafer query node.
protected static org.w3c.dom.Node JaferQueryConverter.processAndNode(org.w3c.dom.Node node)
          Apply demorgans laws to the AND node
static z3950.v3.RPNStructure RPNQueryConverter.processConstraintModelNode(org.w3c.dom.Node constraintModel)
          This method processes a constraint model Node.
private static z3950.v3.RPNStructure RPNQueryConverter.processNode(org.w3c.dom.Node node)
          This method processes the supplied jafer querey node and converts it to an RPN structure.
protected static org.w3c.dom.Node JaferQueryConverter.processNode(org.w3c.dom.Node node)
          This method applies the demorgan laws to convert the query to a normalised fashion.
protected static org.w3c.dom.Node JaferQueryConverter.processNotNode(org.w3c.dom.Node node)
          Apply demorgans laws to the NOT node and remove any double negatives
private static z3950.v3.RPNStructure RPNQueryConverter.processOrNode(org.w3c.dom.Node node)
          Process an OR jafer query node.
protected static org.w3c.dom.Node JaferQueryConverter.processOrNode(org.w3c.dom.Node node)
          Apply demorgans laws to the OR node
private static org.w3c.dom.Node RPNQueryConverter.processRPNStructure(z3950.v3.RPNStructure structure)
          This method creates a jafer query node for the supplied RPNStructure.
protected static org.w3c.dom.Node Converter.selectNode(org.w3c.dom.Node sourceNode, java.lang.String XPath)
          This method selects the node specified by the xpath from the source node
protected static org.w3c.dom.NodeList Converter.selectNodeList(org.w3c.dom.Node sourceNode, java.lang.String XPath)
          This method selects the nodes specified by the xpath from the source node
 

Uses of QueryException in org.jafer.servlet
 

Methods in org.jafer.servlet that throw QueryException
private  org.w3c.dom.Node ZServlet.processQueryTerms(java.util.Vector attributes, java.util.Vector terms)