&& !isEnabled((ITocElement) navigationElement))
return Collections.EMPTY_LIST;
List children = navigationElement.getChildren();
List childTopics = new ArrayList(children.size());
for (Iterator childrenIt = children.iterator(); childrenIt.hasNext();) {
INavigationElement c = (INavigationElement) childrenIt.next();
if ((c instanceof ITopicElement)) {
// add topic only if it will not end up being an empty
// container
if (((((ITopicElement) c).getHref() != null && ((ITopicElement) c)
.getHref().length() > 0) || getEnabledSubtopicList(c).size() > 0) &&