Package reportgen.factory.patch.regex

Examples of reportgen.factory.patch.regex.RegexReportPatch


        return new ReportVersion(2, 5, 1);
    }

    @Override
    public ReportPatch getPatch() {
        return new RegexReportPatch(
            new Object[][] {
                {"version=\"2.5.1\"", "version=\"2.5.2\"", null},

                {"(<entity [^>]*)alias(=\"[^\"]+\")", "$1atom$2", null},
                {"<entityref>([^<]+)</entityref>", "<entityref atom=\"$1\" />", null},
View Full Code Here


        return new ReportVersion(2, 5, 4);
    }

    @Override
    public ReportPatch getPatch() {
        return new RegexReportPatch(
            new Object[][] {
                {"version=\"2.5.4\"", "version=\"2.6.0\"", null},

                {"<core( [^>]*)?>", "<ejb$1>", null},
                {"</core>", "</ejb>", null}
View Full Code Here

        return new ReportVersion(2, 5, 3);
    }

    @Override
    public ReportPatch getPatch() {
        return new RegexReportPatch(
            new Object[][] {
                {"version=\"2.5.3\"", "version=\"2.5.4\"", null},

                {"<unarycond>(.*?)<operator>is not null</operator>(.*?)</unarycond>",
                         "<unarynull>$1<operator>is not null</operator>$2</unarynull>", null},
View Full Code Here

        return new ReportVersion(2, 4, 0);
    }

    @Override
    public ReportPatch getPatch() {
        return new RegexReportPatch(
            new Object[][] {
                {"version=\"2.4.\"", "version=\"2.5.0\"", null},
                {"askonreport=\"false\"", "const=\"true\"", null},
                {"askonreport=\"true\"", "", null},
                {"execute=\"false\"", "const=\"true\"", null},
View Full Code Here

        return new ReportVersion(2, 5, 0);
    }

    @Override
    public ReportPatch getPatch() {
        return new RegexReportPatch(
            new Object[][] {
                {"version=\"2.5.0\"", "version=\"2.5.1\"", null},

                {"(<conditions>[^<]*)<inner>", "$1", null},
                {"(<generic( [^>]*)?>[^<]*)<inner>", "$1", null},
View Full Code Here

        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},
View Full Code Here

TOP

Related Classes of reportgen.factory.patch.regex.RegexReportPatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.