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 Path extends Serializable { 30 31 public static final String ZEUS_XML_NAME = "Path"; 32 public static final String [] ZEUS_ATTRIBUTES = {}; 33 public static final String [] ZEUS_ELEMENTS = {"Type", "Root", "MappingRoot"}; 34 35 public Type getType(); 36 37 public void setType(Type type); 38 39 public Root getRoot(); 40 41 public void setRoot(Root root); 42 43 public MappingRoot getMappingRoot(); 44 45 public void setMappingRoot(MappingRoot mappingRoot); 46 47 public void marshal(File file) throws IOException ; 48 49 public void marshal(OutputStream outputStream) throws IOException ; 50 51 public void marshal(Writer writer) throws IOException ; 52 53 public void setDocType(String name, String publicID, String systemID); 54 55 public void setOutputEncoding(String outputEncoding); 56 57 } 58 | Popular Tags |