protected void readTree(PreferencesImpl prefs, Session session, Node node)
throws RepositoryException {
this.readPreferences(prefs, session, node);
final NodeIterator iterator = node.getNodes();
while ( iterator.hasNext() ) {
final Node current = iterator.nextNode();
final PreferencesImpl impl = (PreferencesImpl)prefs.node(current.getName());
this.readTree(impl, session, current);
}
}