net.sourceforge.wurfl.lang.oneparam.bool
Class MultipleCondition

java.lang.Object
  extended by net.sourceforge.wurfl.lang.twoparam.TwoParamOp<V,Curry,R>
      extended by net.sourceforge.wurfl.lang.oneparam.OneParamOp<V,Boolean>
          extended by net.sourceforge.wurfl.lang.oneparam.bool.Condition<String>
              extended by net.sourceforge.wurfl.lang.oneparam.bool.MultipleCondition
All Implemented Interfaces:
Descriptable
Direct Known Subclasses:
ContainsAnyCondition, StartsWithAnyCondition

public abstract class MultipleCondition
extends Condition<String>

Date: 03/07/11

Since:
1.3.5
Version:
$Id$

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.wurfl.lang.oneparam.bool.Condition
Condition.Type
 
Field Summary
protected  StringOp[] targetOps
           
 
Fields inherited from class net.sourceforge.wurfl.lang.twoparam.TwoParamOp
logger
 
Constructor Summary
MultipleCondition(String... targets)
           
MultipleCondition(StringOp... targetOps)
           
 
Method Summary
 Boolean eval(String variable)
          Only for semantic reason, 'eval' a variable is better than 'execute'
protected abstract  Boolean evalInternal(String variable, String[] targets)
           
 String getDescription()
           
 
Methods inherited from class net.sourceforge.wurfl.lang.oneparam.bool.Condition
and, execute, or, toString
 
Methods inherited from class net.sourceforge.wurfl.lang.oneparam.OneParamOp
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

targetOps

protected StringOp[] targetOps
Constructor Detail

MultipleCondition

public MultipleCondition(String... targets)

MultipleCondition

public MultipleCondition(StringOp... targetOps)
Method Detail

eval

public final Boolean eval(String variable)
Description copied from class: Condition
Only for semantic reason, 'eval' a variable is better than 'execute'

Specified by:
eval in class Condition<String>
Returns:

evalInternal

protected abstract Boolean evalInternal(String variable,
                                        String[] targets)

getDescription

public final String getDescription()


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.