org.eclipse.emf.ecore.xmi
Interface XMLSave

All Known Implementing Classes:
XMLSaveImpl

public interface XMLSave

This defines the methods for the interface that XMLResourceImpl uses to save the resource.


Nested Class Summary
static interface XMLSave.XMLTypeInfo
          This defines the methods for the interface used to determine whether type information should be saved when the XMLResource.OPTION_SAVE_TYPE_INFORMATION save option is enabled.
 
Method Summary
 void save(XMLResource resource, OutputStream outputStream, Map options)
           
 Document toDOM(XMLResource resource, Document document, DOMHandler handler, Map options)
           
 

Method Detail

save

public void save(XMLResource resource,
                 OutputStream outputStream,
                 Map options)
          throws IOException
Throws:
IOException

toDOM

public Document toDOM(XMLResource resource,
                      Document document,
                      DOMHandler handler,
                      Map options)
Parameters:
resource - a resource
document - a Document (must not be null)
handler - a DOMHandler (must not be null)
options - options
Returns:
the document
Since:
2.1.0

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.