public static boolean isArray(Element arrayE){
  String name=arrayE.getTagName();
  if (name.equals("Array") || name.equals("NUM-ARRAY") || name.equals("INT-ARRAY")|| name.equals("REAL-ARRAY")|| name.equals("STRING-ARRAY")|| isSparseArray(arrayE)) {
    return true;
  }
  return false;
}

public static boolean isArray ( Element arrayE ) { String name = arrayE . getTagName ( ) ; if ( name . equals ( "Array" ) || name . equals ( "NUM-ARRAY" ) || name . equals ( "INT-ARRAY" ) || name . equals ( "REAL-ARRAY" ) || name . equals ( "STRING-ARRAY" ) || isSparseArray ( arrayE ) ) { return true ; } return false ; }
utility method to check if an xml element is an array .
