01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07:
08: package org.ozoneDB.xml.cli;
09:
10: import org.xmldb.api.base.Collection;
11: import org.ozoneDB.ExternalDatabase;
12:
13: /**
14: * @author per
15: */
16: public class CollectionFactory {
17:
18: public static Collection create(ExternalDatabase database,
19: String collectionName) throws Exception {
20: return CollectionImpl.newCollection(database, collectionName);
21: }
22: }
|