com.topologi.diffx.format
Interface XMLDiffXFormatter

All Superinterfaces:
DiffXFormatter
All Known Implementing Classes:
BasicXMLFormatter, ConvenientXMLFormatter, SafeXMLFormatter, SmartXMLFormatter, StrictXMLFormatter

public interface XMLDiffXFormatter
extends DiffXFormatter

An interface for formatting the output of the Diff-X algorithm as XML.

This interface defines some additional methods that are specific to XML.

Version:
17 May 2005
Author:
Christophe Lauret

Method Summary
 void declarePrefixMapping(PrefixMapping mapping)
          Adds the specified prefix mapping to the formatter so that they can be dclared when needed.
 void setWriteXMLDeclaration(boolean show)
          Set whether the formatter should include the XML declaration or not.
 
Methods inherited from interface com.topologi.diffx.format.DiffXFormatter
delete, format, insert, setConfig
 

Method Detail

setWriteXMLDeclaration

void setWriteXMLDeclaration(boolean show)
Set whether the formatter should include the XML declaration or not.

Parameters:
show - true to get the formatter to write the XML declaration; false otherwise.

declarePrefixMapping

void declarePrefixMapping(PrefixMapping mapping)
Adds the specified prefix mapping to the formatter so that they can be dclared when needed.

Parameters:
mapping - The prefix mapping to add.