}
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
String savedTableState = (String) component.getAttributes().get("tableState");
if (savedTableState != null && ! savedTableState.isEmpty()) { // retrieve table state
ExtendedDataTableState tableState = new ExtendedDataTableState(savedTableState);
consumeTableState(context, (UIDataTableBase) component, tableState);
}
Map<String, Object> attributes = component.getAttributes();
writer.startElement(HtmlConstants.DIV_ELEM, component);