1 17 package org.eclipse.emf.ecore.xmi; 18 19 import java.io.IOException ; 20 import java.io.OutputStream ; 21 import java.util.Map ; 22 23 import org.eclipse.emf.ecore.EClass; 24 import org.eclipse.emf.ecore.EClassifier; 25 import org.eclipse.emf.ecore.EStructuralFeature; 26 import org.w3c.dom.Document ; 27 28 29 33 public interface XMLSave 34 { 35 36 41 interface XMLTypeInfo 42 { 43 44 54 boolean shouldSaveType(EClass objectType, EClassifier featureType, EStructuralFeature feature); 55 56 66 boolean shouldSaveType(EClass objectType, EClass featureType, EStructuralFeature feature); 67 68 } 69 70 void save(XMLResource resource, OutputStream outputStream, Map options) throws IOException ; 71 72 80 Document save(XMLResource resource, Document document, Map options, DOMHandler handler); 81 } 82 | Popular Tags |