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 ResourceRef extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "resource-ref"; 32 public static final String [] ZEUS_ATTRIBUTES = {"id"}; 33 public static final String [] ZEUS_ELEMENTS = {"description", "res-ref-name", "res-type", "res-auth", "res-sharing-scope"}; 34 35 public Description getDescription(); 36 37 public void setDescription(Description description); 38 39 public ResRefName getResRefName(); 40 41 public void setResRefName(ResRefName resRefName); 42 43 public ResType getResType(); 44 45 public void setResType(ResType resType); 46 47 public ResAuth getResAuth(); 48 49 public void setResAuth(ResAuth resAuth); 50 51 public ResSharingScope getResSharingScope(); 52 53 public void setResSharingScope(ResSharingScope resSharingScope); 54 55 public String getId(); 56 57 public void setId(String id); 58 59 public void marshal(File file) throws IOException ; 60 61 public void marshal(OutputStream outputStream) throws IOException ; 62 63 public void marshal(Writer writer) throws IOException ; 64 65 public void setDocType(String name, String publicID, String systemID); 66 67 public void setOutputEncoding(String outputEncoding); 68 69 } 70 | Popular Tags |