コード例 #1
0
 public void move(String collectionPath, String destinationPath, String newName)
     throws XMLDBException {
   try {
     move(
         XmldbURI.xmldbUriFor(collectionPath),
         XmldbURI.xmldbUriFor(destinationPath),
         XmldbURI.xmldbUriFor(newName));
   } catch (URISyntaxException e) {
     throw new XMLDBException(ErrorCodes.INVALID_URI, e);
   }
 }
コード例 #2
0
 public void copyResource(String resourcePath, String destinationPath, String newName)
     throws XMLDBException {
   try {
     copyResource(
         XmldbURI.xmldbUriFor(resourcePath),
         XmldbURI.xmldbUriFor(destinationPath),
         XmldbURI.xmldbUriFor(newName));
   } catch (URISyntaxException e) {
     throw new XMLDBException(ErrorCodes.INVALID_URI, e);
   }
 }
コード例 #3
0
 public Collection createCollection(String collName, Date created) throws XMLDBException {
   try {
     return createCollection(XmldbURI.xmldbUriFor(collName), created);
   } catch (URISyntaxException e) {
     throw new XMLDBException(ErrorCodes.INVALID_URI, e);
   }
 }
コード例 #4
0
 public void removeCollection(String collName) throws XMLDBException {
   try {
     removeCollection(XmldbURI.xmldbUriFor(collName));
   } catch (URISyntaxException e) {
     throw new XMLDBException(ErrorCodes.INVALID_URI, e);
   }
 }