Class XMLTransformFormatter

All Implemented Interfaces:
Serializable, Comparable

public class XMLTransformFormatter extends GeneratedXMLTransformFormatter
Transforms the specified XML file (parameter media of the format method) data into a new media via the given XSL script ( set via Formatter.getScript(de.hybris.platform.jalo.SessionContext) ).
See Also:
  • Constructor Details

    • XMLTransformFormatter

      public XMLTransformFormatter()
  • Method Details

    • format

      public Media format(Media media)
      Description copied from class: MediaFormatter
      Transform the given media (xml file) with the attached media (xslt file) into a new media (xml/pdf file)
      Specified by:
      format in class MediaFormatter
      Parameters:
      media - a media from an ItemFormatter or other MediaFormatter(s)
      Returns:
      a media which contains the transformed data