Interface XMLWritable

All Known Subinterfaces:
AttributeEvent, CloseElementEvent, DiffXEvent, OpenElementEvent, TextEvent
All Known Implementing Classes:
AttributeEventImpl, AttributeEventNSImpl, CharactersEvent, CharactersEventBase, CharEvent, CloseElementEventImpl, CloseElementEventNSImpl, CommentEvent, DiffXEventBase, 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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Writes the XML representation of the implementing instance using the specified XMLWriter.
  • Method Details

    • 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.