X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Forg%2Fxml%2Fsax%2FHandlerBase.js;fp=site%2Fj2s%2Forg%2Fxml%2Fsax%2FHandlerBase.js;h=b2fc6617500dae85682c07f4558559b7996f495c;hp=85425badd36069319feaef1fcf8ecc1499f8c6ce;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/org/xml/sax/HandlerBase.js b/site/j2s/org/xml/sax/HandlerBase.js index 85425ba..b2fc661 100644 --- a/site/j2s/org/xml/sax/HandlerBase.js +++ b/site/j2s/org/xml/sax/HandlerBase.js @@ -1,48 +1,48 @@ -Clazz.declarePackage ("org.xml.sax"); -Clazz.load (["org.xml.sax.DTDHandler", "$.DocumentHandler", "$.EntityResolver", "$.ErrorHandler"], "org.xml.sax.HandlerBase", null, function () { -c$ = Clazz.declareType (org.xml.sax, "HandlerBase", null, [org.xml.sax.EntityResolver, org.xml.sax.DTDHandler, org.xml.sax.DocumentHandler, 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$, "startElement", -function (name, attributes) { -}, "~S,org.xml.sax.AttributeList"); -Clazz.overrideMethod (c$, "endElement", -function (name) { -}, "~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$, "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"); +Clazz.load (["org.xml.sax.DTDHandler", "$.DocumentHandler", "$.EntityResolver", "$.ErrorHandler"], "org.xml.sax.HandlerBase", null, function () { +c$ = Clazz.declareType (org.xml.sax, "HandlerBase", null, [org.xml.sax.EntityResolver, org.xml.sax.DTDHandler, org.xml.sax.DocumentHandler, 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$, "startElement", +function (name, attributes) { +}, "~S,org.xml.sax.AttributeList"); +Clazz.overrideMethod (c$, "endElement", +function (name) { +}, "~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$, "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"); +});