&& !this.area.equals(Publication.LIVE_AREA)) {
throw new ProcessingException("Invalid area: " + this.area);
}
siteTree = publication.getTree(this.area);
SiteTreeNode node = siteTree.getNode(this.documentid);
if (this.getLogger().isDebugEnabled()) {
this.getLogger().debug(
"Node with documentid " + documentid + " found.");
}
if (node == null)
throw new SiteTreeException("Node with documentid " + documentid
+ " not found.");
SiteTreeNode[] children = node.getChildren();
for (int i = 0; i < children.length; i++) {
startNode(NODE_NODE, children[i]);
addLabels(children[i]);
endNode(NODE_NODE);