01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.walker;
05:
06: abstract class AbstractNode implements Node {
07:
08: private final Object object;
09:
10: protected AbstractNode(Object o) {
11: this .object = o;
12: }
13:
14: public Object getObject() {
15: return object;
16: }
17:
18: public abstract boolean done();
19:
20: public abstract MemberValue next();
21: }
|