1 Clazz.declarePackage ("org.xml.sax.helpers");
2 Clazz.load (["org.xml.sax.Locator"], "org.xml.sax.helpers.LocatorImpl", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
8 Clazz.instantialize (this, arguments);
9 }, org.xml.sax.helpers, "LocatorImpl", null, org.xml.sax.Locator);
10 Clazz.makeConstructor (c$,
13 Clazz.makeConstructor (c$,
15 this.setPublicId (locator.getPublicId ());
16 this.setSystemId (locator.getSystemId ());
17 this.setLineNumber (locator.getLineNumber ());
18 this.setColumnNumber (locator.getColumnNumber ());
19 }, "org.xml.sax.Locator");
20 Clazz.defineMethod (c$, "getPublicId",
24 Clazz.defineMethod (c$, "getSystemId",
28 Clazz.defineMethod (c$, "getLineNumber",
30 return this.lineNumber;
32 Clazz.defineMethod (c$, "getColumnNumber",
34 return this.columnNumber;
36 Clazz.defineMethod (c$, "setPublicId",
38 this.publicId = publicId;
40 Clazz.defineMethod (c$, "setSystemId",
42 this.systemId = systemId;
44 Clazz.defineMethod (c$, "setLineNumber",
45 function (lineNumber) {
46 this.lineNumber = lineNumber;
48 Clazz.defineMethod (c$, "setColumnNumber",
49 function (columnNumber) {
50 this.columnNumber = columnNumber;