class WXEmbed extends WXDiv implements WXSDKInstance.OnInstanceVisibleListener,NestedContainer {

  @Override
  protected boolean setProperty(String key, Object param) {
    switch (key) {
      case Constants.Name.SRC:
        String src = WXUtils.getString(param,null);
        if (src != null)
          setSrc(src);
        return true;
      case Constants.Name.PRIORITY:
        String priority = WXUtils.getString(param,null);
        if (priority != null){
           setPriority(priority);
        }
        return true;
    }
    return super.setProperty(key, param);
  }

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

}