Package com.topologi.diffx.format
Interface XMLDiffXFormatter
- All Superinterfaces:
DiffXFormatter
- All Known Implementing Classes:
BasicXMLFormatter,ConvenientXMLFormatter,SafeXMLFormatter,SmartXMLFormatter,StrictXMLFormatter
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 Summary
Modifier and TypeMethodDescriptionvoiddeclarePrefixMapping(PrefixMapping mapping) Adds the specified prefix mapping to the formatter so that they can be dclared when needed.voidsetWriteXMLDeclaration(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 Details
-
setWriteXMLDeclaration
void setWriteXMLDeclaration(boolean show) Set whether the formatter should include the XML declaration or not.- Parameters:
show-trueto get the formatter to write the XML declaration;falseotherwise.
-
declarePrefixMapping
Adds the specified prefix mapping to the formatter so that they can be dclared when needed.- Parameters:
mapping- The prefix mapping to add.
-