question: 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 ) ; }
target:  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.