Class MultiplexRootElementHandler

    • Constructor Detail

      • MultiplexRootElementHandler

        public MultiplexRootElementHandler​(org.pentaho.reporting.libraries.resourceloader.ResourceManager manager,
                                           org.pentaho.reporting.libraries.resourceloader.ResourceKey source,
                                           org.pentaho.reporting.libraries.resourceloader.ResourceKey context,
                                           long version,
                                           XmlFactoryModule[] rootHandlers)
        Creates a new MultiplexRootElementHandler for the given root handler selection.
        Parameters:
        manager - the resource manager that loaded this xml-file.
        source - the source-key that idenfies from where the file was loaded.
        context - the key that should be used to resolve relative paths.
        version - the versioning information for the root-file.
        rootHandlers - the roothandlers, never null.
    • Method Detail

      • getParserEntityResolver

        public ParserEntityResolver getParserEntityResolver()
        Returns the parent entity resolver used in the element handler. This returns the modifiable entity-resolver backend.
        Returns:
        the entity resolver.
      • getRootHandlers

        protected XmlFactoryModule[] getRootHandlers()
        Returns all known roothandlers.
        Returns:
        the known root handlers.