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 theErrorHandler
- Since:
- 21.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<Reference>
collectReferences()
Collects the references in a documentErrorHandler
getErrorHandler()
void
setErrorHandler(ErrorHandler errorHandler)
Specialized error handlers can be set using this method.
-
-
-
Method Detail
-
setErrorHandler
void setErrorHandler(ErrorHandler errorHandler)
Specialized error handlers can be set using this method.- Parameters:
errorHandler
-
-
getErrorHandler
ErrorHandler getErrorHandler()
- Returns:
- the error handler
-
collectReferences
java.util.Set<Reference> collectReferences()
Collects the references in a document- Returns:
- a set of references
-
-