Interface ReferenceCollector
- All Known Implementing Classes:
DocumentModelReferenceCollector
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface ReferenceCollector
Implementations of this interface are used to collect the references to
external resources (images, audio, video, XInclude, etc.). Errors and exceptions during
the collect operation are handled by the
ErrorHandler
- Since:
- 21.1
-
Method Summary
Modifier and TypeMethodDescriptionCollects the references in a documentvoid
setErrorHandler
(ErrorHandler errorHandler) Specialized error handlers can be set using this method.
-
Method Details
-
setErrorHandler
Specialized error handlers can be set using this method.- Parameters:
errorHandler
-
-
getErrorHandler
ErrorHandler getErrorHandler()- Returns:
- the error handler
-
collectReferences
Collects the references in a document- Returns:
- a set of references
-