@Override public View create(Element elem) { View v = super.create(elem); if (v instanceof InlineView) { return new WrapInlineView(elem); } else if (v instanceof ParagraphView) { return new WrapParagraphView(elem); } return v; }