Interface Report
- All Known Subinterfaces:
LocalizableReport
- All Known Implementing Classes:
CheckingReport, DefaultReportImpl, MasterReport, QuietReport, WriterReportImpl, XmlReportAbstract, XmlReportImpl, XmpReportImpl
public interface Report
Interface that is used to report issues found in epub.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intgenerate()Called to create a report after the checks have been madeintintintintintintvoidinfo(String resource, FeatureEnum feature, String value) Called when when a feature is found in epub.voidCalled when a report if first createdvoidmessage(MessageId id, EPUBLocation location, Object... args) Called when a violation of the standard is found in epub.voidmessage(Message message, EPUBLocation location, Object... args) Called when a violation of the standard is found in epub.voidsetCustomMessageFile(String customMessageFileName) voidsetEpubFileName(String value) voidsetOverrideFile(File customMessageFile) voidsetReportingLevel(int level)
-
Method Details
-
message
Called when a violation of the standard is found in epub.- Parameters:
id- Id of the message being reportedlocation- location information for the messageargs- Arguments referenced by the format string for the message.
-
message
Called when a violation of the standard is found in epub.- Parameters:
message- The message being reportedlocation- location information for the messageargs- Arguments referenced by the format string for the message.
-
info
Called when when a feature is found in epub.- Parameters:
resource- name of the resource in the epub zip container that has this feature or null if the feature is on the container level.feature- a keyword to know what kind of feature has been foundvalue- value found
-
getErrorCount
int getErrorCount() -
getWarningCount
int getWarningCount() -
getFatalErrorCount
int getFatalErrorCount() -
getInfoCount
int getInfoCount() -
getUsageCount
int getUsageCount() -
generate
int generate()Called to create a report after the checks have been made -
initialize
void initialize()Called when a report if first created -
setEpubFileName
-
getEpubFileName
String getEpubFileName() -
setCustomMessageFile
-
getCustomMessageFile
String getCustomMessageFile() -
getReportingLevel
int getReportingLevel() -
setReportingLevel
void setReportingLevel(int level) -
close
void close() -
setOverrideFile
-
getDictionary
MessageDictionary getDictionary()
-