home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Dialog;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- final class XMLPro$13 implements ActionListener {
- // $FF: synthetic field
- private final XMLPro this$0;
-
- // $FF: synthetic method
- XMLPro$13(XMLPro var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- if (!XMLPro.validTb) {
- XMLPro.validTb = true;
- if (!this.this$0.xmlDocument.hasDTD) {
- MesgBox var3 = new MesgBox(this.this$0.theApp, Strings.NoDTDAssociatedWithDocument);
- ((Dialog)var3).show();
- return;
- }
-
- this.this$0.xmlDocument.validated = this.this$0.validateDocument(true);
- if (this.this$0.xmlDocument.validated) {
- MesgBox var2 = new MesgBox(this.this$0.theApp, Strings.ValidationSuccessful);
- ((Dialog)var2).show();
- }
-
- XMLPro.validTb = false;
- }
-
- }
- }
-