return SKIP_BODY;
}
}
private void setNodeAttributes(DefaultMutableTreeNode node) {
TOCItem item = (TOCItem) node.getUserObject();
pageContext.setAttribute("name", item.getName());
String helpID = "";
if (item.getID() != null) {
helpID = item.getID().id;
}
pageContext.setAttribute("helpID", helpID);
pageContext.setAttribute("parent", Integer.toHexString(node.getParent().hashCode()));
String id = getID(node.getParent());
pageContext.setAttribute("parentID", id);
pageContext.setAttribute("node", Integer.toHexString(node.hashCode()));
id = getID(node);
pageContext.setAttribute("nodeID", id);
String content = getContentURL(item);
pageContext.setAttribute("contentURL", content);
String icon = getIconURL(node, item, true);
pageContext.setAttribute("iconURL", icon);
String iconOpen = getIconURL(node, item, false);
pageContext.setAttribute("iconOpenURL", iconOpen);
String expansionType = Integer.toString(item.getExpansionType());
pageContext.setAttribute("expansionType", expansionType);
}