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