@Override
public Node toNode(AbstractWmlConversionContext context, Object unmarshalledNode,
Node modelContent, TransformState state, Document doc)
throws TransformerException {
Br modelData = (Br)unmarshalledNode;
Element ret = doc.createElement("br");
if ((modelData.getClear() != null) &&
(!modelData.getClear().equals(STBrClear.NONE))) {
ret.setAttribute("clear", modelData.getClear().name());
}
if (modelData.getType()!=null
&& modelData.getType().equals(STBrType.PAGE)) {
ret.setAttribute("style", "page-break-before:always");
}
return ret;
}