package net.sf.jpluck.plucker.parsing.html;
import net.sf.jpluck.plucker.Paragraph;
public class H2Handler implements TagHandler, Alignable {
public void start(HTMLSerializer ser, StyledElement elem) {
Style style = new Style();
style.setHeading(2);
elem.setStyle(style);
Paragraph p = ser.addParagraph();
p.setSpacing(3);
}
public void end(HTMLSerializer ser, StyledElement elem) {
ser.addParagraph(3);
}
}