| 1 |
package com.thaiopensource.validation; |
| 2 |
|
| 3 |
import org.w3c.dom.ls.LSInput; |
| 4 |
|
| 5 |
import java.io.InputStream; |
| 6 |
import java.io.Reader; |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
public class LSInputImpl implements LSInput { |
| 13 |
private Reader characterStream; |
| 14 |
private InputStream byteStream; |
| 15 |
private String systemId; |
| 16 |
private String publicId; |
| 17 |
private String baseURI; |
| 18 |
private String encoding; |
| 19 |
private boolean certifiedText; |
| 20 |
private String stringData; |
| 21 |
|
| 22 |
public Reader getCharacterStream() { |
| 23 |
return characterStream; |
| 24 |
} |
| 25 |
|
| 26 |
public void setCharacterStream(Reader characterStream) { |
| 27 |
this.characterStream = characterStream; |
| 28 |
} |
| 29 |
|
| 30 |
public InputStream getByteStream() { |
| 31 |
return byteStream; |
| 32 |
} |
| 33 |
|
| 34 |
public void setByteStream(InputStream byteStream) { |
| 35 |
this.byteStream = byteStream; |
| 36 |
} |
| 37 |
|
| 38 |
public String getSystemId() { |
| 39 |
return systemId; |
| 40 |
} |
| 41 |
|
| 42 |
public void setSystemId(String systemId) { |
| 43 |
this.systemId = systemId; |
| 44 |
} |
| 45 |
|
| 46 |
public String getPublicId() { |
| 47 |
return publicId; |
| 48 |
} |
| 49 |
|
| 50 |
public void setPublicId(String publicId) { |
| 51 |
this.publicId = publicId; |
| 52 |
} |
| 53 |
|
| 54 |
public String getBaseURI() { |
| 55 |
return baseURI; |
| 56 |
} |
| 57 |
|
| 58 |
public void setBaseURI(String baseURI) { |
| 59 |
this.baseURI = baseURI; |
| 60 |
} |
| 61 |
|
| 62 |
public String getEncoding() { |
| 63 |
return encoding; |
| 64 |
} |
| 65 |
|
| 66 |
public void setEncoding(String encoding) { |
| 67 |
this.encoding = encoding; |
| 68 |
} |
| 69 |
|
| 70 |
public boolean getCertifiedText() { |
| 71 |
return certifiedText; |
| 72 |
} |
| 73 |
|
| 74 |
public void setCertifiedText(boolean certifiedText) { |
| 75 |
this.certifiedText = certifiedText; |
| 76 |
} |
| 77 |
|
| 78 |
public String getStringData() { |
| 79 |
return stringData; |
| 80 |
} |
| 81 |
|
| 82 |
public void setStringData(String stringData) { |
| 83 |
this.stringData = stringData; |
| 84 |
} |
| 85 |
} |