Ejemplo n.º 1
0
 public boolean write(Type type, Object obj, NodeMap nodemap, Map map) throws Exception {
   boolean flag1 = strategy.write(type, obj, nodemap, map);
   boolean flag = flag1;
   if (!flag1) {
     flag = write(type, obj, nodemap);
   }
   return flag;
 }
Ejemplo n.º 2
0
 public Value read(Type type, NodeMap nodemap, Map map) throws Exception {
   map = strategy.read(type, nodemap, map);
   if (isReference(map)) {
     return map;
   } else {
     return read(type, nodemap, ((Value) (map)));
   }
 }