public interface XMLDiffXFormatter extends DiffXFormatter
This interface defines some additional methods that are specific to XML.
Modifier and Type | Method and Description |
---|---|
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.
|
delete, format, insert, setConfig
void setWriteXMLDeclaration(boolean show)
show
- true
to get the formatter to write the XML declaration;
false
otherwise.void declarePrefixMapping(PrefixMapping mapping)
mapping
- The prefix mapping to add.Copyright © 2007-2019. All Rights Reserved.