1 18 package org.enhydra.convert.xml; 19 20 import java.io.File ; 22 import java.io.IOException ; 23 import java.io.OutputStream ; 24 import java.io.Writer ; 25 26 import java.io.Serializable ; 28 29 public interface FilterMapping extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "filter-mapping"; 32 public static final String [] ZEUS_ATTRIBUTES = {"id"}; 33 public static final String [] ZEUS_ELEMENTS = {"filter-name", "url-pattern", "servlet-name"}; 34 35 public FilterName getFilterName(); 36 37 public void setFilterName(FilterName filterName); 38 39 public UrlPattern getUrlPattern(); 40 41 public void setUrlPattern(UrlPattern urlPattern); 42 43 public ServletName getServletName(); 44 45 public void setServletName(ServletName servletName); 46 47 public String getId(); 48 49 public void setId(String id); 50 51 public void marshal(File file) throws IOException ; 52 53 public void marshal(OutputStream outputStream) throws IOException ; 54 55 public void marshal(Writer writer) throws IOException ; 56 57 public void setDocType(String name, String publicID, String systemID); 58 59 public void setOutputEncoding(String outputEncoding); 60 61 } 62 | Popular Tags |