// ArrayList <XObjectWrapper> folders = new ArrayList<XObjectWrapper>();
// ArrayList <XObjectWrapper> elements = new ArrayList<XObjectWrapper>();
for (int i = 0; i < children.length; ++i) {
ExplorerTreeNode child = children[i];
if (child instanceof StaticFolder) {
StaticFolder staticFolder = (StaticFolder) child;
XStaticFolder xStaticFolder = new XStaticFolder(staticFolder
.getId(), staticFolder.getName());
xStaticFolder
.setHasChildren(staticFolder.getChildren().length > 0);
// folders.add(wrap(xStaticFolder));
xChildren[i] = wrap(xStaticFolder);
} else if (child instanceof FolderElement) {
FolderElement folderElement = (FolderElement) child;
XView xView = null;