Interface MacroMarshaller

    • Method Detail

      • handles

        boolean handles​(Macro macro)
        Parameters:
        macro - the macro to check. This may be null.
        Returns:
        true if the MacroMarshaller can handle this macro.
      • marshal

        Streamable marshal​(Macro macro,
                           MacroDefinition macroDefinition,
                           ConversionContext conversionContext)
                    throws XhtmlException
        Marshall the supplied macro.
        Parameters:
        macro - the macro to be marshalled. It may be null, such as in the case where a Macro has not been identified by the system.
        macroDefinition -
        conversionContext -
        Returns:
        Throws:
        XhtmlException