Class Html5VoidElementFragmentTransformer

  • All Implemented Interfaces:
    FragmentTransformer

    public class Html5VoidElementFragmentTransformer
    extends Object
    implements FragmentTransformer
    Takes xhtml fragments for void elements (either as empty elements or as a matching pair of elements) and returns it as a single self closing tag (as required by the HTML 5 spec).