Class XMLFormatter


  • public class XMLFormatter
    extends Object
    Simple XML Formatter. This formatter may not fully respect all XML specifications and may impact how the original XML would normally be parsed. If this is important to you to preserve everything (white spaces, CDATA, etc), you should use a different formatter. It is not optimized for memory (affected by very large tag content only). It is intended for formatting simple XML for human consumption. It supports XML with no root or the formatting of attributes only.
    Since:
    2.0.0
    Author:
    Pascal Essiembre