if (foreignContent instanceof ForeignContentSvg) {
final ForeignContentSvg svgArea =
(ForeignContentSvg) foreignContent;
render(svgArea);
} else if (foreignContent instanceof ForeignContentMath) {
final ForeignContentMath mathArea =
(ForeignContentMath) foreignContent;
render(mathArea);
} else {
this.getLogger().warn("At rendering, ForeignContent area "
+ "is of an unsupported type.");