org.argouml.model
Interface XmiWriter


public interface XmiWriter

A wrapper around the genuine XmiWriter that provides public access with no knowledge of actual UML implementation. Unlike many of the interfaces to the model there is no control to force a single instance of an XmiWriter. This is to allow work objects generated by the implementation to be garbage collected when an XmiWriter instance falls out of scope.


Method Summary
 void setXmiExtensionWriter(XmiExtensionWriter xmiExtensionWriter)
          Set the object to call back in order to write extension elements into the XMI output stream.
 void write()
          Write XMI to registered writer.
 

Method Detail

write

void write()
           throws UmlException
Write XMI to registered writer.

Throws:
UmlException - if it goes wrong

setXmiExtensionWriter

void setXmiExtensionWriter(XmiExtensionWriter xmiExtensionWriter)
Set the object to call back in order to write extension elements into the XMI output stream.

Parameters:
xmiExtensionWriter - the writer to handle XMI extensions


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook