opendap/src/main/java/opendap/servers/CEEvaluator.java
public boolean evalClauses(Object specialO) throws NoSuchVariableException, DAP2ServerSideException, IOException {

        boolean result = true;
        Enumeration ec = getClauses();

        while (ec.hasMoreElements() && result == true) {
            Object o = ec.nextElement();
            if (_Debug) {
                System.out.println("Evaluating clause: " + ec.nextElement());
            }

            result = ((TopLevelClause) o).evaluate();

        }

        // Hack: pop the projections of all DArrayDimensions that
        // have been pushed.


        return (result);
    }
public boolean evalClauses(Object specialO) throws NoSuchVariableException, DAP2ServerSideException, IOException {

        boolean result = true;
        Enumeration ec = getClauses();

        while (ec.hasMoreElements() && result == true) {
            Object o = ec.nextElement();
            if (_Debug) {
                System.out.println("Evaluating clause: " + ec.nextElement());
            }

            result = ((TopLevelClause) o).evaluate();

        }

        // Hack: pop the projections of all DArrayDimensions that
        // have been pushed.


        return (result);
    }
public boolean evalClauses ( Object specialO ) throws NoSuchVariableException , DAP2ServerSideException , IOException { boolean result = true ; Enumeration ec = getClauses ( ) ; while ( ec . hasMoreElements ( ) && result == true ) { Object o = ec . nextElement ( ) ; if ( _Debug ) { System . out . println ( "Evaluating clause: " + ec . nextElement ( ) ) ; } result = ( ( TopLevelClause ) o ) . evaluate ( ) ; } // Hack: pop the projections of all DArrayDimensions that // have been pushed. return ( result ) ; }
Evaluate all of the Clauses in the Clause vector.

@param specialO That special Object that can be passed down
through the <code>DDS.send()</code> method.
@return True if all the Clauses evaluate to true, false otherwise.
Evaluate all of the Clauses in the Clause vector .