com.metamatrix.query.processor.xml
Class DefaultCondition
java.lang.Object
com.metamatrix.query.processor.xml.Condition
com.metamatrix.query.processor.xml.DefaultCondition
public class DefaultCondition
- extends Condition
This condition always evaluates to true, basically is a holder for a
sub Program, and can therefore be used as the
default choice in an IfInstruction.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultCondition
public DefaultCondition(Program thenProgram)
evaluate
public boolean evaluate(XMLProcessorEnvironment env,
com.metamatrix.query.processor.xml.XMLContext context)
throws MetaMatrixComponentException,
MetaMatrixProcessingException
- Always returns true
- Specified by:
evaluate in class Condition
- Parameters:
env - ProcessorEnvironment of the XMLPlan, maintains state of the running
XML Processor Plan
- Throws:
MetaMatrixComponentException
MetaMatrixProcessingException- See Also:
com.metamatrix.query.processor.xml.Condition#evaluate(Map, List, ProcessorEnvironment)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getResultSetNames
public java.util.List getResultSetNames()
- See Also:
com.metamatrix.query.processor.xml.Condition#getResultSetNames()
Copyright © 2009. All Rights Reserved.