Interface Marshaller<T>

    • Method Detail

      • marshal

        Streamable marshal​(T object,
                           ConversionContext conversionContext)
                    throws XhtmlException
        Marshals an object to XML.
        Parameters:
        object - object to marshal
        conversionContext - the conversion context
        Returns:
        the XML representation of the object
        Throws:
        XhtmlException - if an error occurs during marshalling