public Object parseArrayElement ( Element arrayEle , BeanDefinition bd ) { String elementType = arrayEle . getAttribute ( VALUE_TYPE_ATTRIBUTE ) ; NodeList nl = arrayEle . getChildNodes ( ) ; ManagedArray target = new ManagedArray ( elementType , nl . getLength ( ) ) ; target . setSource ( extractSource ( arrayEle ) ) ; target . setElementTypeName ( elementType ) ; target . setMergeEnabled ( parseMergeAttribute ( arrayEle ) ) ; parseCollectionElements ( nl , target , bd , elementType ) ; return target ; }
Parse an array element .