| Class | Description |
|---|---|
| CommonsManager |
This extension contains some useful logic for the platform.
These are: Formatter (via Velocity, FOP, etc.) Translator (Supports translation of e.g. |
| CommonsManager.ItemMethodInterceptor | |
| CustomOrder2XML |
This is a sample implementation for the abstract class
ItemFormatter. |
| Document |
This class Document is always bound to a
Format. |
| FOPFormatter |
This Implementation of the
Formatter class transform a given xml-fo file (as
parameter of the method FOPFormatter.format(Media)) with the given xslt file (the media of this class, use
Media.setData(java.io.DataInputStream) and
Media.getData() for access) into a pdf file (stored as return media) |
| FOPFormatterTest | |
| Format |
The main Item/Class of the extension commons.
The Format item contains one ItemFormatter (set with
GeneratedFormat.setInitial(de.hybris.platform.commons.jalo.ItemFormatter)) and a Collection with at least one
MediaFormatter (set with
GeneratedFormat.setChained(java.util.Collection)).After calling the method Format.format(Item) there will be an Item Document
attached to this instance which contains the result of the format process (as media). |
| Formatter |
Abstract super class of all Formatter classes.
|
| GeneratedCommonsManager |
Generated class for type
CommonsManager. |
| GeneratedCustomOrder2XML |
Generated class for type
CustomOrder2XML. |
| GeneratedDocument |
Generated class for type
Document. |
| GeneratedFOPFormatter |
Generated class for type
FOPFormatter. |
| GeneratedFormat |
Generated class for type
Format. |
| GeneratedFormatter |
Generated class for type
Formatter. |
| GeneratedItemFormatter |
Generated class for type
ItemFormatter. |
| GeneratedMediaFormatter |
Generated class for type
MediaFormatter. |
| GeneratedVelocityFormatter |
Generated class for type
VelocityFormatter. |
| GeneratedXMLTransformFormatter |
Generated class for type
XMLTransformFormatter. |
| ItemFormatter |
This abstract class ItemFormatter is for transforming an item of the platform into a media (for example the media
could contain a xml file).
|
| MediaFormatter |
This abstract class MediaFormatter allows transforming media types (from
ItemFormatter) or other MediaFormatter(s)) into other media types (for
example: pdfs). |
| VelocityFormatter |
Formats the given item with a given Velocity template.
|
| VelocityFormatterTest | |
| XMLTransformFormatter |
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)
). |
| Exception | Description |
|---|---|
| TransformerException |
This class provides Exception handling for XSL Based transformations
|
Copyright © 2018 SAP SE. All Rights Reserved.