X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2Fhelpers%2FDefaultHandler.js;fp=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2Fhelpers%2FDefaultHandler.js;h=243b18be85a6fd4f9ed192ba4db69c3e4d68781f;hp=a006ebc2a1fbe9c88771674051da650f72d657fc;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/org/xml/sax/helpers/DefaultHandler.js b/site/swingjs/j2s/org/xml/sax/helpers/DefaultHandler.js index a006ebc..243b18b 100644 --- a/site/swingjs/j2s/org/xml/sax/helpers/DefaultHandler.js +++ b/site/swingjs/j2s/org/xml/sax/helpers/DefaultHandler.js @@ -1,57 +1,57 @@ -Clazz.declarePackage ("org.xml.sax.helpers"); -Clazz.load (["org.xml.sax.ContentHandler", "$.DTDHandler", "$.EntityResolver", "$.ErrorHandler"], "org.xml.sax.helpers.DefaultHandler", null, function () { -c$ = Clazz.declareType (org.xml.sax.helpers, "DefaultHandler", null, [org.xml.sax.EntityResolver, org.xml.sax.DTDHandler, org.xml.sax.ContentHandler, org.xml.sax.ErrorHandler]); -Clazz.overrideMethod (c$, "resolveEntity", -function (publicId, systemId) { -return null; -}, "~S,~S"); -Clazz.overrideMethod (c$, "notationDecl", -function (name, publicId, systemId) { -}, "~S,~S,~S"); -Clazz.overrideMethod (c$, "unparsedEntityDecl", -function (name, publicId, systemId, notationName) { -}, "~S,~S,~S,~S"); -Clazz.overrideMethod (c$, "setDocumentLocator", -function (locator) { -}, "org.xml.sax.Locator"); -Clazz.overrideMethod (c$, "startDocument", -function () { -}); -Clazz.overrideMethod (c$, "endDocument", -function () { -}); -Clazz.overrideMethod (c$, "startPrefixMapping", -function (prefix, uri) { -}, "~S,~S"); -Clazz.overrideMethod (c$, "endPrefixMapping", -function (prefix) { -}, "~S"); -Clazz.overrideMethod (c$, "startElement", -function (uri, localName, qName, attributes) { -}, "~S,~S,~S,org.xml.sax.Attributes"); -Clazz.overrideMethod (c$, "endElement", -function (uri, localName, qName) { -}, "~S,~S,~S"); -Clazz.overrideMethod (c$, "characters", -function (ch, start, length) { -}, "~A,~N,~N"); -Clazz.overrideMethod (c$, "ignorableWhitespace", -function (ch, start, length) { -}, "~A,~N,~N"); -Clazz.overrideMethod (c$, "processingInstruction", -function (target, data) { -}, "~S,~S"); -Clazz.overrideMethod (c$, "skippedEntity", -function (name) { -}, "~S"); -Clazz.overrideMethod (c$, "warning", -function (e) { -}, "org.xml.sax.SAXParseException"); -Clazz.overrideMethod (c$, "error", -function (e) { -}, "org.xml.sax.SAXParseException"); -Clazz.overrideMethod (c$, "fatalError", -function (e) { -throw e; -}, "org.xml.sax.SAXParseException"); -}); +Clazz.declarePackage ("org.xml.sax.helpers"); +Clazz.load (["org.xml.sax.ContentHandler", "$.DTDHandler", "$.EntityResolver", "$.ErrorHandler"], "org.xml.sax.helpers.DefaultHandler", null, function () { +c$ = Clazz.declareType (org.xml.sax.helpers, "DefaultHandler", null, [org.xml.sax.EntityResolver, org.xml.sax.DTDHandler, org.xml.sax.ContentHandler, org.xml.sax.ErrorHandler]); +Clazz.overrideMethod (c$, "resolveEntity", +function (publicId, systemId) { +return null; +}, "~S,~S"); +Clazz.overrideMethod (c$, "notationDecl", +function (name, publicId, systemId) { +}, "~S,~S,~S"); +Clazz.overrideMethod (c$, "unparsedEntityDecl", +function (name, publicId, systemId, notationName) { +}, "~S,~S,~S,~S"); +Clazz.overrideMethod (c$, "setDocumentLocator", +function (locator) { +}, "org.xml.sax.Locator"); +Clazz.overrideMethod (c$, "startDocument", +function () { +}); +Clazz.overrideMethod (c$, "endDocument", +function () { +}); +Clazz.overrideMethod (c$, "startPrefixMapping", +function (prefix, uri) { +}, "~S,~S"); +Clazz.overrideMethod (c$, "endPrefixMapping", +function (prefix) { +}, "~S"); +Clazz.overrideMethod (c$, "startElement", +function (uri, localName, qName, attributes) { +}, "~S,~S,~S,org.xml.sax.Attributes"); +Clazz.overrideMethod (c$, "endElement", +function (uri, localName, qName) { +}, "~S,~S,~S"); +Clazz.overrideMethod (c$, "characters", +function (ch, start, length) { +}, "~A,~N,~N"); +Clazz.overrideMethod (c$, "ignorableWhitespace", +function (ch, start, length) { +}, "~A,~N,~N"); +Clazz.overrideMethod (c$, "processingInstruction", +function (target, data) { +}, "~S,~S"); +Clazz.overrideMethod (c$, "skippedEntity", +function (name) { +}, "~S"); +Clazz.overrideMethod (c$, "warning", +function (e) { +}, "org.xml.sax.SAXParseException"); +Clazz.overrideMethod (c$, "error", +function (e) { +}, "org.xml.sax.SAXParseException"); +Clazz.overrideMethod (c$, "fatalError", +function (e) { +throw e; +}, "org.xml.sax.SAXParseException"); +});