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$,
6 Clazz.superConstructor (this, org.xml.sax.ext.DefaultHandler2, []);
8 Clazz.overrideMethod (c$, "startCDATA",
11 Clazz.overrideMethod (c$, "endCDATA",
14 Clazz.overrideMethod (c$, "startDTD",
15 function (name, publicId, systemId) {
17 Clazz.overrideMethod (c$, "endDTD",
20 Clazz.overrideMethod (c$, "startEntity",
23 Clazz.overrideMethod (c$, "endEntity",
26 Clazz.overrideMethod (c$, "comment",
27 function (ch, start, length) {
29 Clazz.overrideMethod (c$, "attributeDecl",
30 function (eName, aName, type, mode, value) {
32 Clazz.overrideMethod (c$, "elementDecl",
33 function (name, model) {
35 Clazz.overrideMethod (c$, "externalEntityDecl",
36 function (name, publicId, systemId) {
38 Clazz.overrideMethod (c$, "internalEntityDecl",
39 function (name, value) {
41 Clazz.overrideMethod (c$, "getExternalSubset",
42 function (name, baseURI) {
45 Clazz.defineMethod (c$, "resolveEntity",
46 function (name, publicId, baseURI, systemId) {
49 Clazz.defineMethod (c$, "resolveEntity",
50 function (publicId, systemId) {
51 return this.resolveEntity (null, publicId, null, systemId);