class WXWeb extends WXComponent {

    public void setAction(String action, Object data) {
        if (!TextUtils.isEmpty(action)) {
            if (action.equals(GO_BACK)) {
                goBack();
            } else if (action.equals(GO_FORWARD)) {
                goForward();
            } else if (action.equals(RELOAD)) {
                reload();
            } else if (action.equals(POST_MESSAGE)) {
                postMessage(data);
            }
        }
    }

    @Deprecated public  WXWeb(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, String instanceId, boolean isLazy);
    public  WXWeb(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, boolean isLazy);

}