1 Clazz.declarePackage ("org.xml.sax");
\r
2 c$ = Clazz.decorateAsClass (function () {
\r
3 this.publicId = null;
\r
4 this.systemId = null;
\r
5 this.byteStream = null;
\r
6 this.encoding = null;
\r
7 this.characterStream = null;
\r
8 Clazz.instantialize (this, arguments);
\r
9 }, org.xml.sax, "InputSource");
\r
10 Clazz.makeConstructor (c$,
\r
13 Clazz.makeConstructor (c$,
\r
14 function (systemId) {
\r
15 this.setSystemId (systemId);
\r
17 Clazz.makeConstructor (c$,
\r
18 function (byteStream) {
\r
19 this.setByteStream (byteStream);
\r
20 }, "java.io.InputStream");
\r
21 Clazz.makeConstructor (c$,
\r
22 function (characterStream) {
\r
23 this.setCharacterStream (characterStream);
\r
24 }, "java.io.Reader");
\r
25 Clazz.defineMethod (c$, "setPublicId",
\r
26 function (publicId) {
\r
27 this.publicId = publicId;
\r
29 Clazz.defineMethod (c$, "getPublicId",
\r
31 return this.publicId;
\r
33 Clazz.defineMethod (c$, "setSystemId",
\r
34 function (systemId) {
\r
35 this.systemId = systemId;
\r
37 Clazz.defineMethod (c$, "getSystemId",
\r
39 return this.systemId;
\r
41 Clazz.defineMethod (c$, "setByteStream",
\r
42 function (byteStream) {
\r
43 this.byteStream = byteStream;
\r
44 }, "java.io.InputStream");
\r
45 Clazz.defineMethod (c$, "getByteStream",
\r
47 return this.byteStream;
\r
49 Clazz.defineMethod (c$, "setEncoding",
\r
50 function (encoding) {
\r
51 this.encoding = encoding;
\r
53 Clazz.defineMethod (c$, "getEncoding",
\r
55 return this.encoding;
\r
57 Clazz.defineMethod (c$, "setCharacterStream",
\r
58 function (characterStream) {
\r
59 this.characterStream = characterStream;
\r
60 }, "java.io.Reader");
\r
61 Clazz.defineMethod (c$, "getCharacterStream",
\r
63 return this.characterStream;
\r