Class VariableDict
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.VariableBase
-
- org.apache.manifoldcf.scriptengine.VariableDict
-
- All Implemented Interfaces:
Variable
,VariableReference
public class VariableDict extends VariableBase
Array variable object.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<Variable,VariableReference>
dict
-
Fields inherited from interface org.apache.manifoldcf.scriptengine.Variable
ATTRIBUTE_BOOLEAN, ATTRIBUTE_CREATEDSTATUS, ATTRIBUTE_DICT, ATTRIBUTE_FLOAT, ATTRIBUTE_INT, ATTRIBUTE_NOTFOUNDSTATUS, ATTRIBUTE_OKSTATUS, ATTRIBUTE_SCRIPT, ATTRIBUTE_SIZE, ATTRIBUTE_STRING, ATTRIBUTE_TYPE, ATTRIBUTE_UNAUTHORIZEDSTATUS, ATTRIBUTE_VALUE
-
-
Constructor Summary
Constructors Constructor Description VariableDict()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableReference
getAttribute(java.lang.String attributeName)
Get a named attribute of the variable; e.g.VariableReference
getIndexed(Variable index)
Get an indexed property of the variable-
Methods inherited from class org.apache.manifoldcf.scriptengine.VariableBase
ampersand, asterisk, composeMessage, doubleAmpersand, doubleEquals, doublePipe, exclamationEquals, getBooleanValue, getConfigurationNodeValue, getConfigurationValue, getDoubleValue, getIntValue, getQueryArgumentValue, getScriptValue, getStringValue, getURLPathValue, greaterAngle, greaterAngleEquals, hasBooleanValue, hasConfigurationNodeValue, hasConfigurationValue, hasDoubleValue, hasIntValue, hasQueryArgumentValue, hasScriptValue, hasStringValue, hasURLPathValue, insertAt, isNull, lesserAngle, lesserAngleEquals, minus, pipe, plus, removeAt, resolve, setReference, slash, unaryExclamation, unaryMinus
-
-
-
-
Field Detail
-
dict
protected java.util.Map<Variable,VariableReference> dict
-
-
Method Detail
-
getAttribute
public VariableReference getAttribute(java.lang.String attributeName) throws ScriptException
Get a named attribute of the variable; e.g. xxx.yyy- Specified by:
getAttribute
in interfaceVariable
- Overrides:
getAttribute
in classVariableBase
- Throws:
ScriptException
-
getIndexed
public VariableReference getIndexed(Variable index) throws ScriptException
Get an indexed property of the variable- Specified by:
getIndexed
in interfaceVariable
- Overrides:
getIndexed
in classVariableBase
- Throws:
ScriptException
-
-