a93d8e62bdeafca47b2f8a2f61f83346a8b90685
[jalviewjs.git] / site / j2s / org / xml / sax / ext / DefaultHandler2.js
1 Clazz.declarePackage ("org.xml.sax.ext");
2 Clazz.load (["org.xml.sax.ext.DeclHandler", "$.EntityResolver2", "$.LexicalHandler", "org.xml.sax.helpers.DefaultHandler"], "org.xml.sax.ext.DefaultHandler2", null, function () {
3 c$ = Clazz.declareType (org.xml.sax.ext, "DefaultHandler2", org.xml.sax.helpers.DefaultHandler, [org.xml.sax.ext.LexicalHandler, org.xml.sax.ext.DeclHandler, org.xml.sax.ext.EntityResolver2]);
4 Clazz.makeConstructor (c$, 
5 function () {
6 Clazz.superConstructor (this, org.xml.sax.ext.DefaultHandler2, []);
7 });
8 Clazz.overrideMethod (c$, "startCDATA", 
9 function () {
10 });
11 Clazz.overrideMethod (c$, "endCDATA", 
12 function () {
13 });
14 Clazz.overrideMethod (c$, "startDTD", 
15 function (name, publicId, systemId) {
16 }, "~S,~S,~S");
17 Clazz.overrideMethod (c$, "endDTD", 
18 function () {
19 });
20 Clazz.overrideMethod (c$, "startEntity", 
21 function (name) {
22 }, "~S");
23 Clazz.overrideMethod (c$, "endEntity", 
24 function (name) {
25 }, "~S");
26 Clazz.overrideMethod (c$, "comment", 
27 function (ch, start, length) {
28 }, "~A,~N,~N");
29 Clazz.overrideMethod (c$, "attributeDecl", 
30 function (eName, aName, type, mode, value) {
31 }, "~S,~S,~S,~S,~S");
32 Clazz.overrideMethod (c$, "elementDecl", 
33 function (name, model) {
34 }, "~S,~S");
35 Clazz.overrideMethod (c$, "externalEntityDecl", 
36 function (name, publicId, systemId) {
37 }, "~S,~S,~S");
38 Clazz.overrideMethod (c$, "internalEntityDecl", 
39 function (name, value) {
40 }, "~S,~S");
41 Clazz.overrideMethod (c$, "getExternalSubset", 
42 function (name, baseURI) {
43 return null;
44 }, "~S,~S");
45 Clazz.defineMethod (c$, "resolveEntity", 
46 function (name, publicId, baseURI, systemId) {
47 return null;
48 }, "~S,~S,~S,~S");
49 Clazz.defineMethod (c$, "resolveEntity", 
50 function (publicId, systemId) {
51 return this.resolveEntity (null, publicId, null, systemId);
52 }, "~S,~S");
53 });