package net.sf.jpluck.plucker.parsing.html;
import net.sf.jpluck.plucker.Paragraph;
public class ParagraphHandler implements TagHandler, Alignable {
public void start(HTMLSerializer ser, StyledElement elem) {
Paragraph p = ser.addParagraph();
String id = elem.getAttributes().getValue("id");
if (id != null) {
p.addAnchor(id);
}
}
public void end(HTMLSerializer ser, StyledElement elem) {
ser.addParagraph();
}
}