Node resultNode = browseDirectChildren(dev, objectID, "*", 0, 0, "");
if (resultNode == null)
return 0;
BrowseResult browseResult = new BrowseResult(resultNode);
int nResultNode = 0;
int nContents = browseResult.getNContentNodes();
for (int n=0; n<nContents; n++) {
Node xmlNode = browseResult.getContentNode(n);
ContentNode contentNode = null;
if (ContainerNode.isContainerNode(xmlNode) == true) {
contentNode = new ContainerNode();
}
else if (ItemNode.isItemNode(xmlNode) == true)