Java 类javax.swing.text.html.InlineView 实例源码

项目:SmartQQ4IntelliJ    文件:WrapHTMLFactory.java   
@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;
}