private List _asStructuredContentArray(List array){
  if (array == null) {
    return null;
  }
  List children;
  if (array instanceof java.util.Vector) {
    children=new java.util.Vector();
  }
 else {
    children=new ArrayList();
  }
  for (Iterator elements=array.iterator(); elements.hasNext(); ) {
    Object o=elements.next();
    if (o instanceof Map) {
      children.add(new MapContent((Map)o,this));
    }
 else     if (o instanceof String) {
      children.add(new MapContent(o,this));
    }
  }
  return children;
}

private List _asStructuredContentArray ( List array ) { if ( array == null ) { return null ; } List children ; if ( array instanceof java . util . Vector ) { children = new java . util . Vector ( ) ; } else { children = new ArrayList ( ) ; } for ( Iterator elements = array . iterator ( ) ; elements . hasNext ( ) ; ) { Object o = elements . next ( ) ; if ( o instanceof Map ) { children . add ( new MapContent ( ( Map ) o , this ) ) ; } else if ( o instanceof String ) { children . add ( new MapContent ( o , this ) ) ; } } return children ; }
copy an array of map elements to an array of structuredcontent nodes , also linking the parent .
