com.topologi.diffx.xml
Interface XMLWritable

All Known Subinterfaces:
AttributeEvent, CloseElementEvent, DiffXEvent, OpenElementEvent, TextEvent
All Known Implementing Classes:
AttributeEventImpl, AttributeEventNSImpl, CharactersEvent, CharactersEventBase, CharEvent, CloseElementEventImpl, CloseElementEventNSImpl, CommentEvent, IgnorableSpaceEvent, LineEvent, OpenElementEventImpl, OpenElementEventNSImpl, ProcessingInstructionEvent, SpaceEvent, WordEvent, XMLBranchEvent

public interface XMLWritable

An Object which implements this interface can be written as XML using a XMLWriter instance.

Version:
14 September 2004
Author:
Christophe Lauret (Allette Systems)

Method Summary
 void toXML(XMLWriter xml)
          Writes the XML representation of the implementing instance using the specified XMLWriter.
 

Method Detail

toXML

void toXML(XMLWriter xml)
           throws IOException
Writes the XML representation of the implementing instance using the specified XMLWriter.

Parameters:
xml - The XMLWriter to use.
Throws:
IOException - IF an I/O exception occurs whilst writing.