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.io.Serializable ; 28 29 public interface Result extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "Result"; 32 public static final String [] ZEUS_ATTRIBUTES = {}; 33 public static final String [] ZEUS_ELEMENTS = {"SiteName", "Title", "FileType", "FileName", "AbsolutFileName", "AbsolutDirPath", "AbsolutFilePath", "RelativeDirPath", "RelativeFilePath", "Mapped", "GrantedDownload", "Score", "Modified", "Content", "Properties", "MetaData"}; 34 35 public SiteName getSiteName(); 36 37 public void setSiteName(SiteName siteName); 38 39 public Title getTitle(); 40 41 public void setTitle(Title title); 42 43 public FileType getFileType(); 44 45 public void setFileType(FileType fileType); 46 47 public FileName getFileName(); 48 49 public void setFileName(FileName fileName); 50 51 public AbsolutFileName getAbsolutFileName(); 52 53 public void setAbsolutFileName(AbsolutFileName absolutFileName); 54 55 public AbsolutDirPath getAbsolutDirPath(); 56 57 public void setAbsolutDirPath(AbsolutDirPath absolutDirPath); 58 59 public AbsolutFilePath getAbsolutFilePath(); 60 61 public void setAbsolutFilePath(AbsolutFilePath absolutFilePath); 62 63 public RelativeDirPath getRelativeDirPath(); 64 65 public void setRelativeDirPath(RelativeDirPath relativeDirPath); 66 67 public RelativeFilePath getRelativeFilePath(); 68 69 public void setRelativeFilePath(RelativeFilePath relativeFilePath); 70 71 public Mapped getMapped(); 72 73 public void setMapped(Mapped mapped); 74 75 public GrantedDownload getGrantedDownload(); 76 77 public void setGrantedDownload(GrantedDownload grantedDownload); 78 79 public Score getScore(); 80 81 public void setScore(Score score); 82 83 public Modified getModified(); 84 85 public void setModified(Modified modified); 86 87 public Content getContent(); 88 89 public void setContent(Content content); 90 91 public Properties getProperties(); 92 93 public void setProperties(Properties properties); 94 95 public MetaData getMetaData(); 96 97 public void setMetaData(MetaData metaData); 98 99 public void marshal(File file) throws IOException ; 100 101 public void marshal(OutputStream outputStream) throws IOException ; 102 103 public void marshal(Writer writer) throws IOException ; 104 105 public void setDocType(String name, String publicID, String systemID); 106 107 public void setOutputEncoding(String outputEncoding); 108 109 } 110 | Popular Tags |