Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-common / src / main / java / org / onap / so / apihandler / common / LSInputImpl.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.apihandler.common;
22
23
24 import java.io.InputStream;
25 import java.io.Reader;
26 import org.w3c.dom.ls.LSInput;
27
28 public class LSInputImpl implements LSInput {
29
30     protected String fPublicId;
31     protected String fSystemId;
32     protected String fBaseSystemId;
33     protected InputStream fByteStream;
34     protected Reader fCharStream;
35     protected String fData;
36     protected String fEncoding;
37     protected boolean fCertifiedText;
38
39     @Override
40     public InputStream getByteStream() {
41         return fByteStream;
42     }
43
44     @Override
45     public void setByteStream(InputStream byteStream) {
46         fByteStream = byteStream;
47     }
48
49     @Override
50     public Reader getCharacterStream() {
51         return fCharStream;
52     }
53
54     @Override
55     public void setCharacterStream(Reader characterStream) {
56         fCharStream = characterStream;
57     }
58
59     @Override
60     public String getStringData() {
61         return fData;
62     }
63
64     @Override
65     public void setStringData(String stringData) {
66         fData = stringData;
67     }
68
69     @Override
70     public String getEncoding() {
71         return fEncoding;
72     }
73
74     @Override
75     public void setEncoding(String encoding) {
76         fEncoding = encoding;
77     }
78
79     @Override
80     public String getPublicId() {
81         return fPublicId;
82     }
83
84     @Override
85     public void setPublicId(String publicId) {
86         fPublicId = publicId;
87     }
88
89     @Override
90     public String getSystemId() {
91         return fSystemId;
92     }
93
94     @Override
95     public void setSystemId(String systemId) {
96         fSystemId = systemId;
97     }
98
99     @Override
100     public String getBaseURI() {
101         return fBaseSystemId;
102     }
103
104     @Override
105     public void setBaseURI(String baseURI) {
106         fBaseSystemId = baseURI;
107     }
108
109     @Override
110     public boolean getCertifiedText() {
111         return fCertifiedText;
112     }
113
114     @Override
115     public void setCertifiedText(boolean certifiedText) {
116         fCertifiedText = certifiedText;
117     }
118 }