1 18 package org.enhydra.barracuda.contrib.dbroggisch.display.filters.dtd; 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 Filter extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "filter"; 32 public static final String [] ZEUS_ATTRIBUTES = {"name"}; 33 public static final String [] ZEUS_ELEMENTS = {"call", "lookup", "markup", "switch", "constant", "date", "count"}; 34 35 public Call getCall(); 36 37 public void setCall(Call call); 38 39 public Lookup getLookup(); 40 41 public void setLookup(Lookup lookup); 42 43 public Markup getMarkup(); 44 45 public void setMarkup(Markup markup); 46 47 public Switch getXmlswitch(); 48 49 public void setXmlswitch(Switch xmlswitch); 50 51 public Constant getConstant(); 52 53 public void setConstant(Constant constant); 54 55 public Date getDate(); 56 57 public void setDate(Date date); 58 59 public Count getCount(); 60 61 public void setCount(Count count); 62 63 public String getName(); 64 65 public void setName(String name); 66 67 public void marshal(File file) throws IOException ; 68 69 public void marshal(OutputStream outputStream) throws IOException ; 70 71 public void marshal(Writer writer) throws IOException ; 72 73 public void setDocType(String name, String publicID, String systemID); 74 75 public void setOutputEncoding(String outputEncoding); 76 77 } 78 | Popular Tags |