Class MWiXValidator
java.lang.Object
com.io7m.montarre.nativepack.internal.MWiXValidator
- All Implemented Interfaces:
MWiXValidatorType,AutoCloseable,ErrorHandler
A WiX validator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiderror(SAXParseException exception) execute()Execute the validator.voidfatalError(SAXParseException exception) voidwarning(SAXParseException exception)
-
Constructor Details
-
MWiXValidator
A WiX validator.- Parameters:
inFile- The file
-
-
Method Details
-
execute
Description copied from interface:MWiXValidatorTypeExecute the validator.- Specified by:
executein interfaceMWiXValidatorType- Returns:
- The validation issues, if any
- Throws:
MException- On errors
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceMWiXValidatorType- Throws:
MException
-
warning
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-