1 16 19 package org.apache.xml.serializer; 20 21 import java.io.IOException ; 22 import java.io.OutputStream ; 23 import java.io.Writer ; 24 import java.util.Properties ; 25 import java.util.Vector ; 26 27 import javax.xml.transform.Transformer ; 28 29 import org.apache.xml.serializer.Serializer; 30 import org.w3c.dom.Node ; 31 import org.xml.sax.ContentHandler ; 32 import org.xml.sax.ErrorHandler ; 33 import org.xml.sax.SAXException ; 34 import org.xml.sax.ext.DeclHandler ; 35 36 41 public interface SerializationHandler 42 extends 43 ExtendedContentHandler, 44 ExtendedLexicalHandler, 45 XSLOutputAttributes, 46 DeclHandler , 47 ErrorHandler , 48 DOMSerializer, 49 Serializer 50 { 51 58 public void setContentHandler(ContentHandler ch); 59 60 public void close(); 61 62 69 public void serialize(Node node) throws IOException ; 70 79 public boolean setEscaping(boolean escape) throws SAXException ; 80 81 85 public void setIndentAmount(int spaces); 86 87 91 public void setTransformer(Transformer transformer); 92 93 97 public Transformer getTransformer(); 98 99 105 public void setNamespaceMappings(NamespaceMappings mappings); 106 107 112 public void flushPending() throws SAXException ; 113 114 115 } 116 | Popular Tags |