@Override protected synchronized URIConverter getURIConverter() { if (this.uriConverter == null) { List<ContentHandler> withoutPlatformDelegate = Lists.newArrayList(); for (ContentHandler contentHandler : ContentHandler.Registry.INSTANCE.contentHandlers()) { if (!isTooEager(contentHandler)) withoutPlatformDelegate.add(contentHandler); } this.uriConverter = new ExtensibleURIConverterImpl(URIHandler.DEFAULT_HANDLERS, withoutPlatformDelegate); } return this.uriConverter; }
ContentHandler.Registry contentHandlerRegistry) { List<ContentHandler> contentHandlers = contentHandlerRegistry .get(ContentHandler.Registry.LOW_PRIORITY); contentHandlerRegistry.put(ContentHandler.Registry.LOW_PRIORITY, XMI_CONTENT_HANDLER); .get(ContentHandler.Registry.NORMAL_PRIORITY); contentHandlerRegistry.put(ContentHandler.Registry.NORMAL_PRIORITY, contentHandlers = new ArrayList<ContentHandler>());
contributorHandlerClass.newInstance() : contributorHandlerClass.getConstructor(Map.class).newInstance(parameters); ContentHandler.Registry.INSTANCE.put(priority, contentHandler); List<ContentHandler> contributions = CONTRIBUTION_MAP.get(contributorName); if (contributions == null) if (contributions != null) for (List<ContentHandler> values : ContentHandler.Registry.INSTANCE.values())
contributorHandlerClass.newInstance() : contributorHandlerClass.getConstructor(Map.class).newInstance(parameters); ContentHandler.Registry.INSTANCE.put(priority, contentHandler); List<ContentHandler> contributions = CONTRIBUTION_MAP.get(contributorName); if (contributions == null) if (contributions != null) for (List<ContentHandler> values : ContentHandler.Registry.INSTANCE.values())
/** * Creates an instance. */ public ExtensibleURIConverterImpl() { this(URIHandler.DEFAULT_HANDLERS, ContentHandler.Registry.INSTANCE.contentHandlers()); }
/** * Creates an instance. */ public ExtensibleURIConverterImpl() { this(URIHandler.DEFAULT_HANDLERS, ContentHandler.Registry.INSTANCE.contentHandlers()); }