Interface ReferenceCollectorFactory
-
- All Known Implementing Classes:
WebappReferenceCollectorFactory
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface ReferenceCollectorFactory
Factory that createsReferenceCollector
objects to collect references from an XML document at specified URL.- Since:
- 21.1
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferenceCollector
createCollector(java.net.URL url)
Creates aReferenceCollector
for the given URL.static ReferenceCollector
getCollector(java.net.URL url)
Convenience method that returns a collector for the given URL.
-
-
-
Method Detail
-
createCollector
ReferenceCollector createCollector(java.net.URL url)
Creates aReferenceCollector
for the given URL.- Parameters:
url
- the URL of the document- Returns:
- the created
ReferenceCollector
instance
-
getCollector
static ReferenceCollector getCollector(java.net.URL url)
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
-
-