85425badd36069319feaef1fcf8ecc1499f8c6ce
[jalviewjs.git] / site / j2s / org / xml / sax / HandlerBase.js
1 Clazz.declarePackage ("org.xml.sax");\r
2 Clazz.load (["org.xml.sax.DTDHandler", "$.DocumentHandler", "$.EntityResolver", "$.ErrorHandler"], "org.xml.sax.HandlerBase", null, function () {\r
3 c$ = Clazz.declareType (org.xml.sax, "HandlerBase", null, [org.xml.sax.EntityResolver, org.xml.sax.DTDHandler, org.xml.sax.DocumentHandler, org.xml.sax.ErrorHandler]);\r
4 Clazz.overrideMethod (c$, "resolveEntity", \r
5 function (publicId, systemId) {\r
6 return null;\r
7 }, "~S,~S");\r
8 Clazz.overrideMethod (c$, "notationDecl", \r
9 function (name, publicId, systemId) {\r
10 }, "~S,~S,~S");\r
11 Clazz.overrideMethod (c$, "unparsedEntityDecl", \r
12 function (name, publicId, systemId, notationName) {\r
13 }, "~S,~S,~S,~S");\r
14 Clazz.overrideMethod (c$, "setDocumentLocator", \r
15 function (locator) {\r
16 }, "org.xml.sax.Locator");\r
17 Clazz.overrideMethod (c$, "startDocument", \r
18 function () {\r
19 });\r
20 Clazz.overrideMethod (c$, "endDocument", \r
21 function () {\r
22 });\r
23 Clazz.overrideMethod (c$, "startElement", \r
24 function (name, attributes) {\r
25 }, "~S,org.xml.sax.AttributeList");\r
26 Clazz.overrideMethod (c$, "endElement", \r
27 function (name) {\r
28 }, "~S");\r
29 Clazz.overrideMethod (c$, "characters", \r
30 function (ch, start, length) {\r
31 }, "~A,~N,~N");\r
32 Clazz.overrideMethod (c$, "ignorableWhitespace", \r
33 function (ch, start, length) {\r
34 }, "~A,~N,~N");\r
35 Clazz.overrideMethod (c$, "processingInstruction", \r
36 function (target, data) {\r
37 }, "~S,~S");\r
38 Clazz.overrideMethod (c$, "warning", \r
39 function (e) {\r
40 }, "org.xml.sax.SAXParseException");\r
41 Clazz.overrideMethod (c$, "error", \r
42 function (e) {\r
43 }, "org.xml.sax.SAXParseException");\r
44 Clazz.overrideMethod (c$, "fatalError", \r
45 function (e) {\r
46 throw e;\r
47 }, "org.xml.sax.SAXParseException");\r
48 });\r