240241242243244245246247248249250
// capabilities RepositoryCapabilities repcap = r.getCapabilities(); Assert.assertNotNull(repcap); CapabilityRenditions caprend = repcap.getRenditionsCapability(); Assert.assertNotNull(caprend); switch (caprend) { case NONE: case READ: break;