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 Summary
Modifier and TypeMethodDescriptioncreateCollector(URL url) Creates aReferenceCollectorfor the given URL.static ReferenceCollectorgetCollector(URL url) Convenience method that returns a collector for the given URL.
-
Method Details
-
createCollector
Creates aReferenceCollectorfor the given URL.- Parameters:
url- the URL of the document- Returns:
- the created
ReferenceCollectorinstance
-
getCollector
Convenience method that returns a collector for the given URL. It searches theStaticComponentsRegistryregistry 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
-