Class PDFDocumentAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.pades.validation.PDFDocumentAnalyzerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DSSDocument document) This method instantiates aDocumentAnalyzer
with the given documentboolean
isSupported
(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzer
supports the given document
-
Constructor Details
-
PDFDocumentAnalyzerFactory
public PDFDocumentAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerFactory
This method tests if the current implementation ofDocumentAnalyzer
supports the given document- Specified by:
isSupported
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
DocumentAnalyzer
supports the given document
-
create
Description copied from interface:DocumentAnalyzerFactory
This method instantiates aDocumentAnalyzer
with the given document- Specified by:
create
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be used for theDocumentAnalyzer
creation- Returns:
- an instance of
DocumentAnalyzer
with the document
-