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 aReferenceCollector
for the given URL.static ReferenceCollector
getCollector
(URL url) Convenience method that returns a collector for the given URL.
-
Method Details
-
createCollector
Creates aReferenceCollector
for the given URL.- Parameters:
url
- the URL of the document- Returns:
- the created
ReferenceCollector
instance
-
getCollector
Convenience method that returns a collector for the given URL. It searches theStaticComponentsRegistry
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
-