1 package org.xmldb.api.base; 2 3 55 56 70 public interface Collection extends Configurable { 71 80 Service[] getServices() throws XMLDBException; 81 82 93 Service getService(String name, String version) throws XMLDBException; 94 95 109 void registerService(Service serv) throws XMLDBException; 110 111 120 Collection getParentCollection() throws XMLDBException; 121 122 131 int getChildCollectionCount() throws XMLDBException; 132 133 144 String [] listChildCollections() throws XMLDBException; 145 146 156 Collection getChildCollection(String name) throws XMLDBException; 157 158 167 int getResourceCount() throws XMLDBException; 168 169 178 String [] listResources() throws XMLDBException; 179 180 201 Resource createResource(String id, String type) throws XMLDBException; 202 203 215 void removeResource(Resource res) throws XMLDBException; 216 217 229 void storeResource(Resource res) throws XMLDBException; 230 231 242 Resource getResource(String id) throws XMLDBException; 243 244 252 String createId() throws XMLDBException; 253 254 263 void close() throws XMLDBException; 264 } 265 266 | Popular Tags |