7b1ea5163080d6e161743da9efec37e4f18a874c
[jalviewjs.git] / site / j2s / org / xml / sax / InputSource.js
1 Clazz.declarePackage ("org.xml.sax");
2 c$ = Clazz.decorateAsClass (function () {
3 this.publicId = null;
4 this.systemId = null;
5 this.byteStream = null;
6 this.encoding = null;
7 this.characterStream = null;
8 Clazz.instantialize (this, arguments);
9 }, org.xml.sax, "InputSource");
10 Clazz.makeConstructor (c$, 
11 function () {
12 });
13 Clazz.makeConstructor (c$, 
14 function (systemId) {
15 this.setSystemId (systemId);
16 }, "~S");
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);
24 }, "java.io.Reader");
25 Clazz.defineMethod (c$, "setPublicId", 
26 function (publicId) {
27 this.publicId = publicId;
28 }, "~S");
29 Clazz.defineMethod (c$, "getPublicId", 
30 function () {
31 return this.publicId;
32 });
33 Clazz.defineMethod (c$, "setSystemId", 
34 function (systemId) {
35 this.systemId = systemId;
36 }, "~S");
37 Clazz.defineMethod (c$, "getSystemId", 
38 function () {
39 return this.systemId;
40 });
41 Clazz.defineMethod (c$, "setByteStream", 
42 function (byteStream) {
43 this.byteStream = byteStream;
44 }, "java.io.InputStream");
45 Clazz.defineMethod (c$, "getByteStream", 
46 function () {
47 return this.byteStream;
48 });
49 Clazz.defineMethod (c$, "setEncoding", 
50 function (encoding) {
51 this.encoding = encoding;
52 }, "~S");
53 Clazz.defineMethod (c$, "getEncoding", 
54 function () {
55 return this.encoding;
56 });
57 Clazz.defineMethod (c$, "setCharacterStream", 
58 function (characterStream) {
59 this.characterStream = characterStream;
60 }, "java.io.Reader");
61 Clazz.defineMethod (c$, "getCharacterStream", 
62 function () {
63 return this.characterStream;
64 });