}
private Collection getAbsoluteCollection(String path) throws dbXMLException {
if ( path.startsWith("/") ) {
StringTokenizer st = new StringTokenizer(path, "/");
CollectionManager cm = Database.getInstance();
if ( !st.hasMoreTokens() )
return (Collection)cm;
while ( cm != null && st.hasMoreTokens() ) {
path = st.nextToken();
cm = cm.getCollection(path);
}
return (Collection)cm;
}
else
throw new dbXMLException("Invalid Collection Path '"+path+"'");