2 * Copyright (C) 2008 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.io
.jaxb
;
11 import java
.io
.InputStream
;
12 import java
.io
.Reader
;
14 import org
.w3c
.dom
.ls
.LSInput
;
17 * Copied from CATE (@author ben.clark). Not used at this point.
19 public class LsInputImpl
implements LSInput
{
21 private String baseURI
;
23 private String encoding
;
25 private String systemId
;
27 private String publicId
;
29 private String stringData
;
31 private InputStream byteStream
;
33 private Reader characterStream
;
35 private boolean certifiedText
;
37 public String
getBaseURI() {
41 public void setBaseURI(String baseURI
) {
42 this.baseURI
= baseURI
;
45 public String
getEncoding() {
49 public void setEncoding(String encoding
) {
50 this.encoding
= encoding
;
53 public String
getSystemId() {
57 public void setSystemId(String systemId
) {
58 this.systemId
= systemId
;
61 public String
getPublicId() {
65 public void setPublicId(String publicId
) {
66 this.publicId
= publicId
;
69 public String
getStringData() {
73 public void setStringData(String stringData
) {
74 this.stringData
= stringData
;
77 public InputStream
getByteStream() {
81 public void setByteStream(InputStream byteStream
) {
82 this.byteStream
= byteStream
;
85 public Reader
getCharacterStream() {
86 return characterStream
;
89 public void setCharacterStream(Reader characterStream
) {
90 this.characterStream
= characterStream
;
93 public boolean getCertifiedText() {
97 public void setCertifiedText(boolean certifiedText
) {
98 this.certifiedText
= certifiedText
;