HtmlInlineContainer container = new HtmlInlineContainer();
HtmlBlockContainer container = new HtmlBlockContainer();
        public HtmlComponent createLayout(Object object, Class type) {            HtmlComponent component = super.createLayout(object, type);                        if (isCheckable() && isSelectAllShown()) {                HtmlInlineContainer container = new HtmlInlineContainer();                                HtmlComponent selectAllComponent = createInvertSelectionLink();                                if (String.valueOf(getSelectAllLocation()).contains(LOCATION_TOP) || String.valueOf(getSelectAllLocation()).contains(LOCATION_BOTH)) {                    container.addChild(selectAllComponent);                }                container.addChild(component);                                if (String.valueOf(getSelectAllLocation()).contains(LOCATION_BOTTOM) || String.valueOf(getSelectAllLocation()).contains(LOCATION_BOTH)) {                    container.addChild(selectAllComponent);                }                                return container;            }            else {                return component;            }        }