@Override protected URI delegatedGetURI(URI uri) { return URIMappingRegistryImpl.INSTANCE.getURI(uri); }
/** * Delegates to the {@link URIMappingRegistryImpl#modificationCount()}. * @since 2.8 */ public int modificationCount() { return URIMappingRegistryImpl.this.modificationCount(); } }
/** * Creates an {@link MappingEntryImpl}. */ @Override protected Entry<URI, URI> newEntry(int hash, URI key, URI value) { validateKey(key); validateValue(value); return new MappingEntryImpl(hash, key, value); }
URI result = get(uri); if (result == null) result = delegatedGetURI(uri);
uriMap = (URIMap)mappingRegistryImpl.map();
/** * Creates an {@link MappingEntryImpl}. */ @Override protected Entry<URI, URI> newEntry(int hash, URI key, URI value) { validateKey(key); validateValue(value); return new MappingEntryImpl(hash, key, value); }
URI result = get(uri); if (result == null) result = delegatedGetURI(uri);
uriMap = (URIMap)mappingRegistryImpl.map();
/** * Returns the remapped URI, or the URI itself. * This implementation delegates to the containing {@link URIMappingRegistryImpl}. * @param uri the URI to remap. * @return the remapped URI, or the URI itself. */ public URI getURI(URI uri) { return URIMappingRegistryImpl.this.getURI(uri); }
/** * Specialize the modification count to include the modification count for this map * as well as the one for the map to which this one {@link URIMappingRegistryImpl#INSTANCE delegates}. * @since 2.8 */ @Override protected int modificationCount() { return super.modificationCount() + URIMappingRegistryImpl.INSTANCE.modificationCount(); } };
@Override protected URI delegatedGetURI(URI uri) { return URIMappingRegistryImpl.INSTANCE.getURI(uri); }
/** * Specialize the modification count to include the modification count for this map * as well as the one for the map to which this one {@link URIMappingRegistryImpl#INSTANCE delegates}. * @since 2.8 */ @Override protected int modificationCount() { return super.modificationCount() + URIMappingRegistryImpl.INSTANCE.modificationCount(); } };
/** * Returns the remapped URI, or the URI itself. * This implementation delegates to the containing {@link URIMappingRegistryImpl}. * @param uri the URI to remap. * @return the remapped URI, or the URI itself. */ public URI getURI(URI uri) { return URIMappingRegistryImpl.this.getURI(uri); }
/** * Delegates to the {@link URIMappingRegistryImpl#modificationCount()}. * @since 2.8 */ public int modificationCount() { return URIMappingRegistryImpl.this.modificationCount(); } }
public static boolean isRegisteredURIMapping(Resource res) { return URIMappingRegistryImpl.INSTANCE.getURI(res.getURI()) != res.getURI(); }