- <init>
Creates a new integerOrVariableRef holding the given variable reference
- evaluate
Evaluates this holder. If this holds an explicit integer then its value is
returned as-is. Otherwise
- evaluateNotNull
Wrapper for #evaluate(Expression,ProcessingContext) that substitutes a
replacement value and emits a
- getConstantIntegerValue
Returns the explicit integer held by this instance, returning null if this
actually holds a variable
- getIdentifier
Returns the explicit variable reference identifier held by this instance,
returning null if this act
- isConstantInteger
Returns true if this instance holds an explicit integer
- isVariableRef
Returns true of this instance holds a variable reference
- parseString
Parses a new integerOrVariableRef from the given String, as defined in the QTI
spec.