Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.taglibs.rdc.dm
Class RuleBasedDirectedDialog.ConditionImpl  view RuleBasedDirectedDialog.ConditionImpl download RuleBasedDirectedDialog.ConditionImpl.java

java.lang.Object
  extended byorg.apache.taglibs.rdc.dm.RuleBasedDirectedDialog.ConditionImpl
All Implemented Interfaces:
RuleBasedDirectedDialog.Condition
Direct Known Subclasses:
Conditions.Match, Conditions.MatchAttribute, Conditions.Unless, Conditions.When
Enclosing class:
RuleBasedDirectedDialog

public static class RuleBasedDirectedDialog.ConditionImpl
extends java.lang.Object
implements RuleBasedDirectedDialog.Condition

Java Object corresponding to an individual condition defined within a rule in the XML navigation rules structure. Corresponds to <condition> element in XML navigation rules.


Field Summary
protected  org.apache.taglibs.rdc.core.GroupModel groupModel
           
protected  org.apache.taglibs.rdc.core.GroupTag groupTag
           
protected  boolean isExecCtxSet
           
protected  java.util.LinkedHashMap lruCache
           
protected  java.lang.String lvalue
           
private static java.util.Map lvalueTypes
           
private static java.util.Map opCodes
           
protected  java.lang.String operation
           
protected  java.lang.String rvalue
           
private static java.util.Map rvalueTypes
           
protected  java.lang.String target
           
protected  java.util.List tempVars
           
private static int UNSUPPORTED_OPERATION
           
 
Constructor Summary
RuleBasedDirectedDialog.ConditionImpl()
           
 
Method Summary
static java.util.Map getAttrPropMap()
           
 java.lang.String getLvalue()
           
static java.lang.String getLvalueType(int opCode)
           
 int getOpCode()
           
 java.lang.String getOperation()
           
 java.lang.String getRvalue()
           
static java.lang.String getRvalueType(int opCode)
           
 java.lang.String getTarget()
           
 boolean isSatisfied()
           
 void post()
           
 void pre()
           
 void setExecutionContext(org.apache.taglibs.rdc.core.GroupTag groupTag, org.apache.taglibs.rdc.core.GroupModel groupModel, java.util.LinkedHashMap lruCache, java.util.List tempVars)
           
 void setLvalue(java.lang.String string)
           
 void setOperation(java.lang.String operation)
           
 void setRvalue(java.lang.String string)
           
 void setTarget(java.lang.String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opCodes

private static final java.util.Map opCodes

lvalueTypes

private static final java.util.Map lvalueTypes

rvalueTypes

private static final java.util.Map rvalueTypes

UNSUPPORTED_OPERATION

private static final int UNSUPPORTED_OPERATION
See Also:
Constant Field Values

lvalue

protected java.lang.String lvalue

operation

protected java.lang.String operation

rvalue

protected java.lang.String rvalue

target

protected java.lang.String target

groupTag

protected org.apache.taglibs.rdc.core.GroupTag groupTag

groupModel

protected org.apache.taglibs.rdc.core.GroupModel groupModel

lruCache

protected java.util.LinkedHashMap lruCache

tempVars

protected java.util.List tempVars

isExecCtxSet

protected boolean isExecCtxSet
Constructor Detail

RuleBasedDirectedDialog.ConditionImpl

public RuleBasedDirectedDialog.ConditionImpl()
Method Detail

setExecutionContext

public void setExecutionContext(org.apache.taglibs.rdc.core.GroupTag groupTag,
                                org.apache.taglibs.rdc.core.GroupModel groupModel,
                                java.util.LinkedHashMap lruCache,
                                java.util.List tempVars)
Specified by:
setExecutionContext in interface RuleBasedDirectedDialog.Condition

getAttrPropMap

public static java.util.Map getAttrPropMap()

getLvalue

public java.lang.String getLvalue()

getRvalue

public java.lang.String getRvalue()

getOperation

public java.lang.String getOperation()

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface RuleBasedDirectedDialog.Condition

setLvalue

public void setLvalue(java.lang.String string)

setRvalue

public void setRvalue(java.lang.String string)

setOperation

public void setOperation(java.lang.String operation)

setTarget

public void setTarget(java.lang.String target)

getOpCode

public int getOpCode()

getLvalueType

public static java.lang.String getLvalueType(int opCode)

getRvalueType

public static java.lang.String getRvalueType(int opCode)

pre

public void pre()

post

public void post()

isSatisfied

public boolean isSatisfied()
Specified by:
isSatisfied in interface RuleBasedDirectedDialog.Condition