private List<Object> parseArray(NodeList elements) throws ParseException {
  ArrayList<Object> list=new ArrayList<Object>();
  for (int i=0; i < elements.getLength(); i++) {
    Node o=elements.item(i);
    if (o.getNodeType() != Node.ELEMENT_NODE) {
      continue;
    }
    list.add(parseElementRaw(o));
  }
  return list;
}

private List < Object > parseArray ( NodeList elements ) throws ParseException { ArrayList < Object > list = new ArrayList < Object > ( ) ; for ( int i = 0 ; i < elements . getLength ( ) ; i ++ ) { Node o = elements . item ( i ) ; if ( o . getNodeType ( ) != Node . ELEMENT_NODE ) { continue ; } list . add ( parseElementRaw ( o ) ) ; } return list ; }
parse a list of xml elements as a plist array .
