Interface ISourceConverter

  • All Superinterfaces:
    IConverter
    All Known Implementing Classes:
    AbstractSourceConverter

    @StableMinor(version="14.1",
                 sinceVersion="4.0")
    public interface ISourceConverter
    extends IConverter
    Defines extra methods for a converter that is used in a source context. A source field may use a IConverter, but if the converter implements this method, it is assured that the methods of this interface will be called as defined by the source framework.
    Since:
    4.0.4
    Version:
    $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
    • Method Detail

      • init

        void init​(ISourceContext sourceContext)
           throws PortalException
        This method is called to initialize the converter to be used in the given source context. It is called before any convert methods. If the converter will be used on another source context, this method is called again.
        Parameters:
        sourceContext - the source context this converter will be used in.
        Throws:
        PortalException
        Since:
        4.0.4