|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttrContext
Framework for allocation of variables, administration of attribute mappings and application conditions in rules.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
void |
defreeze()
Perform mapping removals which were delayed during the freeze mode. |
boolean |
doesAllowComplexExpressions()
|
boolean |
doesAllowEmptyValues()
|
boolean |
doesAllowNewVariables()
|
void |
freeze()
Switching on the freeze mode; mapping removals are deferred until 'defreeze()' is called. |
AttrConditionTuple |
getConditions()
|
HandlerExpr |
getExpr(java.lang.String name)
Getting the value of an identifier. getType( String ) and getExpr( String ) allow to use an AttrContext as a SymbolTable when using an AttrHandler. |
HandlerType |
getType(java.lang.String name)
Getting the type of an identifier. getType( String ) and getExpr( String ) allow to use an AttrContext as a SymbolTable when using an AttrHandler. |
AttrVariableTuple |
getVariables()
|
void |
removeAllMappings()
|
void |
setAllowComplexExpr(boolean isAllowed)
|
void |
setAllowEmptyValues(boolean isAllowed)
|
void |
setAllowVarDeclarations(boolean isAllowed)
|
void |
setAttrContext(AttrContext source)
|
Methods inherited from interface agg.util.Disposable |
---|
dispose |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
AttrConditionTuple getConditions()
AttrVariableTuple getVariables()
boolean doesAllowComplexExpressions()
boolean doesAllowNewVariables()
boolean doesAllowEmptyValues()
void setAllowVarDeclarations(boolean isAllowed)
void setAllowComplexExpr(boolean isAllowed)
void setAllowEmptyValues(boolean isAllowed)
void setAttrContext(AttrContext source)
void freeze()
void defreeze()
HandlerType getType(java.lang.String name)
getType
in interface SymbolTable
name
- Identifier's name
HandlerExpr getExpr(java.lang.String name)
getExpr
in interface SymbolTable
name
- Identifier's name
void removeAllMappings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |