1 Clazz.declarePackage ("org.xml.sax.ext");
2 Clazz.load (["org.xml.sax.ext.Locator2", "org.xml.sax.helpers.LocatorImpl"], "org.xml.sax.ext.Locator2Impl", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
6 Clazz.instantialize (this, arguments);
7 }, org.xml.sax.ext, "Locator2Impl", org.xml.sax.helpers.LocatorImpl, org.xml.sax.ext.Locator2);
8 Clazz.makeConstructor (c$,
10 Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, []);
12 Clazz.makeConstructor (c$,
14 Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, [locator]);
15 if (Clazz.instanceOf (locator, org.xml.sax.ext.Locator2)) {
17 this.version = l2.getXMLVersion ();
18 this.encoding = l2.getEncoding ();
19 }}, "org.xml.sax.Locator");
20 Clazz.defineMethod (c$, "getXMLVersion",
24 Clazz.defineMethod (c$, "getEncoding",
28 Clazz.defineMethod (c$, "setXMLVersion",
30 this.version = version;
32 Clazz.defineMethod (c$, "setEncoding",
34 this.encoding = encoding;