opendap/src/main/java/opendap/servers/CEEvaluator.java
public void parseConstraint(String constraint, String urlencoded)
            throws ParseException, opendap.dap.DAP2Exception, NoSuchVariableException,
            NoSuchFunctionException, InvalidOperatorException,
            InvalidParameterException, SBHException, WrongTypeException {

        if (clauseFactory == null) {
            clauseFactory = new ClauseFactory();
        }

        // Parses constraint expression (duh...) and sets the
        // projection flag for each member of the CE's ServerDDS
        // instance. This also builds the list of clauses.
	
	try {
        CeParser.constraint_expression(this,
            _dds.getFactory(),
            clauseFactory,
            constraint, urlencoded);
	} catch (ConstraintException ce) {
	    // convert to a DAP2Exception
        ce.printStackTrace();
	    throw new DAP2Exception(ce);
	}

        if (_Debug) {
            int it = 0;
            Enumeration ec = getClauses();

            System.out.println("Results of clause parsing:");
            if (!ec.hasMoreElements())
                System.out.println("    No Clauses Found.");

            while (ec.hasMoreElements()) {
                it++;
                System.out.println("    Clause " + it + ": " + ec.nextElement());
            }
        }

    }
public void parseConstraint(String constraint, String urlencoded)
            throws ParseException, opendap.dap.DAP2Exception, NoSuchVariableException,
            NoSuchFunctionException, InvalidOperatorException,
            InvalidParameterException, SBHException, WrongTypeException {

        if (clauseFactory == null) {
            clauseFactory = new ClauseFactory();
        }

        // Parses constraint expression (duh...) and sets the
        // projection flag for each member of the CE's ServerDDS
        // instance. This also builds the list of clauses.
	
	try {
        CeParser.constraint_expression(this,
            _dds.getFactory(),
            clauseFactory,
            constraint, urlencoded);
	} catch (ConstraintException ce) {
	    // convert to a DAP2Exception
        ce.printStackTrace();
	    throw new DAP2Exception(ce);
	}

        if (_Debug) {
            int it = 0;
            Enumeration ec = getClauses();

            System.out.println("Results of clause parsing:");
            if (!ec.hasMoreElements())
                System.out.println("    No Clauses Found.");

            while (ec.hasMoreElements()) {
                it++;
                System.out.println("    Clause " + it + ": " + ec.nextElement());
            }
        }

    }
Parse a constraint expression. Variables in the projection are marked
as such in the CEEvaluator's ServerDDS instance. The selection
subexpression is then parsed and a list of Clause objects is built.
<p/>
The parser is located in opendap.servers.parsers.CeParser.

@param constraint The constraint expression to parse.
@throws ParseException
@throws NoSuchVariableException
@throws NoSuchFunctionException
@throws InvalidOperatorException
@throws InvalidParameterException
@throws SBHException