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