1 16 19 package org.apache.xalan.serialize; 20 21 import java.io.IOException ; 22 import java.io.OutputStream ; 23 import java.io.Writer ; 24 import java.util.Properties ; 25 26 import org.xml.sax.ContentHandler ; 27 28 34 public interface Serializer 35 { 36 37 50 public void setOutputStream(OutputStream output); 51 52 59 public OutputStream getOutputStream(); 60 61 73 public void setWriter(Writer writer); 74 75 81 public Writer getWriter(); 82 83 94 public void setOutputFormat(Properties format); 95 96 102 public Properties getOutputFormat(); 103 104 114 public ContentHandler asContentHandler() throws IOException ; 115 116 126 public DOMSerializer asDOMSerializer() throws IOException ; 127 128 139 public boolean reset(); 140 } 141 | Popular Tags |