1 20 package org.enhydra.barracuda.core.util.dom; 21 22 import java.io.*; 23 import java.util.*; 24 import org.w3c.dom.*; 25 26 import javax.servlet.*; 27 import javax.servlet.http.*; 28 29 32 public interface DOMWriter { 33 34 public void prepareResponse(HttpServletResponse resp) throws IOException; public void write(Node node, HttpServletResponse resp) throws IOException; 36 public void write(Node node, OutputStream out) throws IOException; 37 public void write(Node node, Writer writer) throws IOException; 38 public void setLeaveWriterOpen(boolean val); public boolean getLeaveWriterOpen(); } | Popular Tags |