Interface XmlFormatter

All Known Implementing Classes:
DefaultXmlFormatter

public interface XmlFormatter
Objects implementing this interface are used to convert the internal representation of the XML DOM classes into a string suitable for saving to the file system. Note that the string generated by this class will be saved directly to the file system with no additional modifications.

Only one instance of the class will be created in each context. Configuration can be passed into the class through the use of properties in the Context.

Author:
Jeff Butler
  • Method Details

    • setContext

      void setContext(Context context)
    • getFormattedContent

      String getFormattedContent(Document document)