1 16 19 package org.apache.xml.serializer; 20 import java.io.Writer ; 21 import java.io.OutputStream ; 22 import java.io.IOException ; 23 import java.util.Properties ; 24 25 import org.apache.xml.serializer.DOMSerializer; 26 27 import org.xml.sax.ContentHandler ; 28 29 34 public interface Serializer { 35 36 47 public void setOutputStream(OutputStream output); 48 49 55 public OutputStream getOutputStream(); 56 57 67 public void setWriter(Writer writer); 68 69 74 public Writer getWriter(); 75 76 85 public void setOutputFormat(Properties format); 86 87 92 public Properties getOutputFormat(); 93 94 103 public ContentHandler asContentHandler() throws IOException ; 104 105 114 public DOMSerializer asDOMSerializer() throws IOException ; 115 116 125 public boolean reset(); 126 } 127 128 | Popular Tags |