/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package reportgen.factory;
import reportgen.factory.patch.ReportPatch;
import reportgen.factory.patch.regex.RegexReportPatch;
/**
*
* @author axe
*/
final class ReportVersion252_253 extends ReportVersion {
public ReportVersion252_253() {
super(2, 5, 3);
}
@Override
public ReportVersion realVersion() {
return new ReportVersion(2, 5, 2);
}
@Override
public ReportPatch getPatch() {
return new RegexReportPatch(
new Object[][] {
{"version=\"2.5.2\"", "version=\"2.5.3\"", null},
{"<property>([0-9]+\\.get[A-Z].*?)</property>", "<method value=\"$1\" />", null},
{"<property>([0-9]+\\.is[A-Z].*?)</property>", "<method value=\"$1\" />", null},
{"<property>(.*?)</property>", "<field value=\"$1\" />", null},
}
);
}
}