Class XmlReportGenerator
java.lang.Object
com.itextpdf.signatures.validation.report.xml.XmlReportGenerator
This class will convert a
PadesValidationReport to its xml representation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXmlReportGenerator(XmlReportOptions options) Instantiate a new instance of XmlReportGenerator. -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(PadesValidationReport report, Writer writer) Generate xlm representation of aPadesValidationReport.
-
Field Details
-
DOC_NS
- See Also:
-
DS_NS
- See Also:
-
XSI_NS
- See Also:
-
XS_NS
- See Also:
-
-
Constructor Details
-
XmlReportGenerator
Instantiate a new instance of XmlReportGenerator.- Parameters:
-
options- the conversion options to use
-
-
Method Details
-
generate
public void generate(PadesValidationReport report, Writer writer) throws TransformerException, ParserConfigurationException Generate xlm representation of aPadesValidationReport.- Parameters:
-
report- the report to transform -
writer- the writer instance to write the resulting xml to - Throws:
-
TransformerException- if an unrecoverable error occurs during the course of the transformation -
ParserConfigurationException- if the DocumentBuilderFactory cannot support a configured feature
-