return result;
}
+ public boolean isFinished() {
+ return finished;
+ }
+
void setResult(final NormalizedNode<?, ?> result) {
if (finished) {
throw new ResultAlreadySetException("Normalized Node result was already set.", this.result);
this.result = result;
}
- public boolean isFinished() {
- return finished;
+ void reset() {
+ result = null;
+ finished = false;
}
}