Interface CompositeDescriptorParserFactory

All Superinterfaces:
DescriptorParserFactory

public interface CompositeDescriptorParserFactory extends DescriptorParserFactory
A factory which creates a DescriptorParserFactory by composing together multiple XML descriptors
Since:
3.2.16
  • Method Details

    • getInstance

      DescriptorParser getInstance(InputStream source, Iterable<InputStream> supplementalSources, Set<Application> applications)
      Creates a new DescriptorParser for getting plugin descriptor information from the provided source data and supplemental module descriptors.
      Parameters:
      source - the stream of data which represents the descriptor. The stream will only be read once, so it need not be resettable.
      supplementalSources - streams of data representing supplemental plugin information
      applications - The list of application keys to match for module descriptors
      Returns:
      an instance of the descriptor parser tied to this InputStream
      Throws:
      PluginParseException - if there was a problem creating the descriptor parser due to an invalid source stream.
      Since:
      3.2.15