|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.expression.ExNode
com.waveset.expression.ExRule
A node used to represent a call to an external rule. Rules are similar to functions except that arguments are passed as a set of keyword arguments (name/value pairs) rather than by position. The implementation of the rule is always external, there is no XPRESS syntax for defining rules.
Nested Class Summary | |
static class |
ExRule.Argument
A node found only within |
Field Summary | |
static java.lang.String |
code_id
|
Fields inherited from class com.waveset.expression.ExNode |
_bindingCount, _children, _decoration, _parent, trace |
Constructor Summary | |
ExRule()
Build a rule node. |
Method Summary | |
protected ExValue |
evalInternal(ExState state)
Evalute the rule call node. |
java.lang.String |
getFunctionName()
Return our function name. |
java.lang.String |
getName()
Get the name of the rule. |
boolean |
isPassThrough()
Get the passThrough option. |
void |
parseXml(org.w3c.dom.Element el)
Parse the XML representation, and flesh out the object. |
void |
setName(java.lang.String name)
|
void |
setPassThrough(boolean b)
|
void |
toXmlAttributes(java.lang.StringBuffer b)
Add our attributes to the default XML serialization. |
Methods inherited from class com.waveset.expression.ExNode |
addChild, addChildren, addCommonAttributes, beginTrace, clearOwner, endTrace, eval, evalChild, evalChildToObject, evalChildToString, evalToBoolean, evalToInt, evalToObject, evalToString, getBindingCount, getChild, getChildren, getDecoration, getHiddenVariable, getLocation, getOwner, getParent, isLiteral, parseCommonAttributes, postProcess, removeChild, resolveFunction, resolveVariable, setBindingCount, setChildren, setDecoration, setEnvironment, setLocation, setOwner, setOwner, setParent, toXml, toXml, toXml, toXmlChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public ExRule()
Method Detail |
public void setName(java.lang.String name)
public void setPassThrough(boolean b)
public java.lang.String getFunctionName()
getFunctionName
in class ExNode
public void parseXml(org.w3c.dom.Element el) throws WavesetException
parseXml
in class ExNode
WavesetException
public void toXmlAttributes(java.lang.StringBuffer b)
toXmlAttributes
in class ExNode
public java.lang.String getName()
public boolean isPassThrough()
protected ExValue evalInternal(ExState state) throws WavesetException
evalInternal
in class ExNode
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |