1 16 17 18 package org.apache.xml.serialize; 19 20 21 import java.io.IOException ; 22 import java.io.OutputStream ; 23 import java.io.Writer ; 24 25 import org.xml.sax.ContentHandler ; 26 import org.xml.sax.DocumentHandler ; 27 28 29 61 public interface Serializer 62 { 63 64 65 70 public void setOutputByteStream(OutputStream output); 71 72 73 78 public void setOutputCharStream( Writer output ); 79 80 81 90 public void setOutputFormat( OutputFormat format ); 91 92 93 98 public DocumentHandler asDocumentHandler() 99 throws IOException ; 100 101 102 107 public ContentHandler asContentHandler() 108 throws IOException ; 109 110 111 116 public DOMSerializer asDOMSerializer() 117 throws IOException ; 118 119 120 } 121 122 123 124 125 126 | Popular Tags |