Class VariableConfigurationNode.NodeReference
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.VariableConfigurationNode.NodeReference
-
- All Implemented Interfaces:
VariableReference
- Enclosing class:
- VariableConfigurationNode
protected class VariableConfigurationNode.NodeReference extends java.lang.Object implements VariableReference
Extend VariableReference class so we capture attempts to set the reference, and actually overwrite the child when that is done
-
-
Field Summary
Fields Modifier and Type Field Description protected intindex
-
Constructor Summary
Constructors Constructor Description NodeReference(int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNull()Check if this reference is nullVariableresolve()Resolve the referencevoidsetReference(Variable v)Set the reference
-
-
-
Method Detail
-
setReference
public void setReference(Variable v) throws ScriptException
Description copied from interface:VariableReferenceSet the reference- Specified by:
setReferencein interfaceVariableReference- Throws:
ScriptException
-
resolve
public Variable resolve() throws ScriptException
Description copied from interface:VariableReferenceResolve the reference- Specified by:
resolvein interfaceVariableReference- Throws:
ScriptException
-
isNull
public boolean isNull()
Check if this reference is null- Specified by:
isNullin interfaceVariableReference
-
-