Package com.adobe.epubcheck.util
Class XmpReportImpl
- java.lang.Object
-
- com.adobe.epubcheck.api.MasterReport
-
- com.adobe.epubcheck.util.XmlReportAbstract
-
- com.adobe.epubcheck.util.XmpReportImpl
-
- All Implemented Interfaces:
LocalizableReport,Report
public class XmpReportImpl extends XmlReportAbstract
-
-
Field Summary
-
Fields inherited from class com.adobe.epubcheck.util.XmlReportAbstract
charsCount, contributors, creationDate, creators, date, embeddedFonts, epubCheckDate, epubCheckName, epubCheckVersion, errors, fatalErrors, formatName, formatVersion, generationDate, hasAudio, hasEncryption, hasFixedLayout, hasScripts, hasSignatures, hasVideo, hints, identifier, language, lastModifiedDate, mediaTypes, out, pagesCount, publisher, references, refFonts, rights, subjects, titles, warns
-
Fields inherited from class com.adobe.epubcheck.api.MasterReport
allReportedMessageIds
-
-
Constructor Summary
Constructors Constructor Description XmpReportImpl(java.io.PrintWriter out, java.lang.String ePubName, java.lang.String versionEpubCheck)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidgenerateEventOutcome(java.util.List<CheckMessage> messages, java.lang.String sev)protected voidgenerateFont(java.lang.String font, boolean embeded)intgenerateReport()Method to implement effective report generation.private voidgenerateSignificantProperty(java.lang.String property, java.lang.String value)-
Methods inherited from class com.adobe.epubcheck.util.XmlReportAbstract
addPrefixNamespace, capitalize, close, correctToUtf8, endElement, fromTime, generate, generateElement, generateElement, generateElement, getNameFromPath, info, initialize, message, setNamespace, startElement, startElement, startElement
-
Methods inherited from class com.adobe.epubcheck.api.MasterReport
getCustomMessageFile, getDictionary, getEpubFileName, getErrorCount, getFatalErrorCount, getInfoCount, getLocale, getMessages, getReportingLevel, getUsageCount, getWarningCount, message, setCustomMessageFile, setEpubFileName, setLocale, setOverrideFile, setReportingLevel
-
-
-
-
Method Detail
-
generateReport
public int generateReport()
Description copied from class:XmlReportAbstractMethod to implement effective report generation.- Specified by:
generateReportin classXmlReportAbstract- Returns:
- errorCode
-
generateFont
protected void generateFont(java.lang.String font, boolean embeded)
-
generateEventOutcome
private void generateEventOutcome(java.util.List<CheckMessage> messages, java.lang.String sev)
-
generateSignificantProperty
private void generateSignificantProperty(java.lang.String property, java.lang.String value)
-
-