Class Html


public class Html extends CharMarshaller
A pairing of a HtmlSerializer and HtmlParser into a single class with convenience read/write methods.

The general idea is to combine a single serializer and parser inside a simplified API for reading and writing POJOs.

Examples:

// Using instance. Html html = new Html(); MyPojo myPojo = html.read(string, MyPojo.class); String string = html.write(myPojo);

// Using DEFAULT instance. MyPojo myPojo = Html.DEFAULT.read(string, MyPojo.class); String string = Html.DEFAULT.write(myPojo);

See Also: