Interface ReferenceCollectorFactory

All Known Implementing Classes:
WebappReferenceCollectorFactory

@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface ReferenceCollectorFactory
Factory that creates ReferenceCollector objects to collect references from an XML document at specified URL.
Since:
21.1
  • Method Details

    • createCollector

      ReferenceCollector createCollector(URL url)
      Creates a ReferenceCollector for the given URL.
      Parameters:
      url - the URL of the document
      Returns:
      the created ReferenceCollector instance
    • getCollector

      static ReferenceCollector getCollector(URL url)
      Convenience method that returns a collector for the given URL. It searches the StaticComponentsRegistry registry for registered factory to create the new collector. If none found it returns the default implementation.
      Parameters:
      url - the URL of the XML document
      Returns:
      the reference collector