NameFormat.format(node.getValue(), nsMappings)));
terms.add(t);
}
// now search for all node types that are derived from base
NodeTypeIterator allTypes = ntMgr.getAllNodeTypes();
while (allTypes.hasNext()) {
NodeType nt = allTypes.nextNodeType();
NodeType[] superTypes = nt.getSupertypes();
if (Arrays.asList(superTypes).contains(base)) {
String ntName = nsMappings.translatePropertyName(nt.getName(),
session.getNamespaceResolver());
Term t;