public String getRestorableState() { RestorableSupport rs = RestorableSupport.newRestorableSupport(); // Creating a new RestorableSupport failed. RestorableSupport logged the problem, so just return null. if (rs == null) { return(null); } this.doGetRestorableState(rs, null); return(rs.getStateAsXml()); }