if(result == null) {
result = (String) cmnode.getProperty("description"); //$NON-NLS-1$
}
if (result == null || result.length() == 0) {
if (cmnode.getNodeType() == CMNode.GROUP) {
CMDescriptionBuilder descriptionBuilder = new CMDescriptionBuilder();
result = descriptionBuilder.buildDescription(cmnode);
}
else {
result = DOMNamespaceHelper.computeName(cmnode, parent, null);
}
}