private Value readArray(Class type,NodeMap node) throws Exception {
  Node entry=node.remove(length);
  int size=0;
  if (entry != null) {
    String value=entry.getValue();
    size=Integer.parseInt(value);
  }
  return new ArrayValue(type,size);
}

private Value readArray ( Class type , NodeMap node ) throws Exception { Node entry = node . remove ( length ) ; int size = 0 ; if ( entry != null ) { String value = entry . getValue ( ) ; size = Integer . parseInt ( value ) ; } return new ArrayValue ( type , size ) ; }
this is used to resolve and load a class for the given element . resolution of the class to used is done by inspecting the xml element provided . if there is a " class " attribute on the element then its value is used to resolve the class to use . this also expects a " length " attribute for the array length .
