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
  • Method Details

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