1 16 17 package org.apache.xerces.dom; 18 19 import org.w3c.dom.ls.LSOutput ; 20 21 import java.io.Writer ; 22 import java.io.OutputStream ; 23 24 52 53 public class DOMOutputImpl implements LSOutput { 54 55 protected Writer fCharStream = null; 56 protected OutputStream fByteStream = null; 57 protected String fSystemId = null; 58 protected String fEncoding = null; 59 60 63 public DOMOutputImpl() {} 64 65 72 73 public Writer getCharacterStream(){ 74 return fCharStream; 75 }; 76 77 84 85 public void setCharacterStream(Writer characterStream){ 86 fCharStream = characterStream; 87 }; 88 89 96 97 public OutputStream getByteStream(){ 98 return fByteStream; 99 }; 100 101 108 109 public void setByteStream(OutputStream byteStream){ 110 fByteStream = byteStream; 111 }; 112 113 121 122 public String getSystemId(){ 123 return fSystemId; 124 }; 125 126 134 135 public void setSystemId(String systemId){ 136 fSystemId = systemId; 137 }; 138 139 149 150 public String getEncoding(){ 151 return fEncoding; 152 }; 153 154 164 165 public void setEncoding(String encoding){ 166 fEncoding = encoding; 167 }; 168 169 } | Popular Tags |