1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 import org.w3c.dom.ls.LSOutput ; 61 62 import java.io.Writer ; 63 import java.io.OutputStream ; 64 65 92 93 public class DOMOutputImpl implements LSOutput { 94 95 protected Writer fCharStream = null; 96 protected OutputStream fByteStream = null; 97 protected String fSystemId = null; 98 protected String fEncoding = null; 99 100 103 public DOMOutputImpl() {} 104 105 112 113 public Writer getCharacterStream(){ 114 return fCharStream; 115 }; 116 117 124 125 public void setCharacterStream(Writer characterStream){ 126 fCharStream = characterStream; 127 }; 128 129 136 137 public OutputStream getByteStream(){ 138 return fByteStream; 139 }; 140 141 148 149 public void setByteStream(OutputStream byteStream){ 150 fByteStream = byteStream; 151 }; 152 153 161 162 public String getSystemId(){ 163 return fSystemId; 164 }; 165 166 174 175 public void setSystemId(String systemId){ 176 fSystemId = systemId; 177 }; 178 179 189 190 public String getEncoding(){ 191 return fEncoding; 192 }; 193 194 204 205 public void setEncoding(String encoding){ 206 fEncoding = encoding; 207 }; 208 209 } | Popular Tags |