1 18 package org.enhydra.snapper.business.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.util.List ; 28 import java.io.Serializable ; 29 30 public interface Site extends Serializable { 31 32 public static final String ZEUS_XML_NAME = "Site"; 33 public static final String [] ZEUS_ATTRIBUTES = {}; 34 public static final String [] ZEUS_ELEMENTS = {"Name", "ID", "IndexDir", "Download", "Searched", "FileNR", "QueryNR", "LastQuery", "LastUpdate", "Path"}; 35 36 public Name getName(); 37 38 public void setName(Name name); 39 40 public ID getID(); 41 42 public void setID(ID iD); 43 44 public IndexDir getIndexDir(); 45 46 public void setIndexDir(IndexDir indexDir); 47 48 public Download getDownload(); 49 50 public void setDownload(Download download); 51 52 public Searched getSearched(); 53 54 public void setSearched(Searched searched); 55 56 public FileNR getFileNR(); 57 58 public void setFileNR(FileNR fileNR); 59 60 public QueryNR getQueryNR(); 61 62 public void setQueryNR(QueryNR queryNR); 63 64 public LastQuery getLastQuery(); 65 66 public void setLastQuery(LastQuery lastQuery); 67 68 public LastUpdate getLastUpdate(); 69 70 public void setLastUpdate(LastUpdate lastUpdate); 71 72 public List getPathList(); 73 74 public void setPathList(List PathList); 75 76 public void addPath(Path path); 77 78 public void removePath(Path path); 79 80 public void marshal(File file) throws IOException ; 81 82 public void marshal(OutputStream outputStream) throws IOException ; 83 84 public void marshal(Writer writer) throws IOException ; 85 86 public void setDocType(String name, String publicID, String systemID); 87 88 public void setOutputEncoding(String outputEncoding); 89 90 } 91 | Popular Tags |