Package org.apache.catalina.util.xml

Examples of org.apache.catalina.util.xml.XmlMapper.methodSetter()


        mapper.addRule("web-app/filter/filter-name",
                       mapper.methodSetter("setFilterName", 0));
        mapper.addRule("web-app/filter/icon/large-icon",
                       mapper.methodSetter("setLargeIcon", 0));
        mapper.addRule("web-app/filter/icon/small-icon",
                       mapper.methodSetter("setSmallIcon", 0));
        mapper.addRule("web-app/filter/init-param",
                       mapper.methodSetter("addInitParameter", 2));
        mapper.addRule("web-app/filter/init-param/param-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/filter/init-param/param-value",
View Full Code Here


        mapper.addRule("web-app/filter/icon/large-icon",
                       mapper.methodSetter("setLargeIcon", 0));
        mapper.addRule("web-app/filter/icon/small-icon",
                       mapper.methodSetter("setSmallIcon", 0));
        mapper.addRule("web-app/filter/init-param",
                       mapper.methodSetter("addInitParameter", 2));
        mapper.addRule("web-app/filter/init-param/param-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/filter/init-param/param-value",
                       mapper.methodParam(1));
View Full Code Here

                  mapper.objectCreate("org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping",
                       mapper.addChild("addFilterMap",
                                      "org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping/filter-name",
                       mapper.methodSetter("setFilterName", 0));
        mapper.addRule("web-app/filter-mapping/servlet-name",
                       mapper.methodSetter("setServletName", 0));
        mapper.addRule("web-app/filter-mapping/url-pattern",
                       mapper.methodSetter("setURLPattern", 0));
View Full Code Here

                       mapper.addChild("addFilterMap",
                                      "org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping/filter-name",
                       mapper.methodSetter("setFilterName", 0));
        mapper.addRule("web-app/filter-mapping/servlet-name",
                       mapper.methodSetter("setServletName", 0));
        mapper.addRule("web-app/filter-mapping/url-pattern",
                       mapper.methodSetter("setURLPattern", 0));

        mapper.addRule("web-app/listener/listener-class",
                       mapper.methodSetter("addApplicationListener", 0));
View Full Code Here

        mapper.addRule("web-app/filter-mapping/filter-name",
                       mapper.methodSetter("setFilterName", 0));
        mapper.addRule("web-app/filter-mapping/servlet-name",
                       mapper.methodSetter("setServletName", 0));
        mapper.addRule("web-app/filter-mapping/url-pattern",
                       mapper.methodSetter("setURLPattern", 0));

        mapper.addRule("web-app/listener/listener-class",
                       mapper.methodSetter("addApplicationListener", 0));

        mapper.addRule("web-app/login-config",
View Full Code Here

                       mapper.methodSetter("setServletName", 0));
        mapper.addRule("web-app/filter-mapping/url-pattern",
                       mapper.methodSetter("setURLPattern", 0));

        mapper.addRule("web-app/listener/listener-class",
                       mapper.methodSetter("addApplicationListener", 0));

        mapper.addRule("web-app/login-config",
                mapper.objectCreate("org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config",
                       mapper.addChild("setLoginConfig",
View Full Code Here

                mapper.objectCreate("org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config",
                       mapper.addChild("setLoginConfig",
                                    "org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config/auth-method",
                       mapper.methodSetter("setAuthMethod", 0));
        mapper.addRule("web-app/login-config/realm-name",
                       mapper.methodSetter("setRealmName", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-login-page",
                       mapper.methodSetter("setLoginPage", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-error-page",
View Full Code Here

                       mapper.addChild("setLoginConfig",
                                    "org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config/auth-method",
                       mapper.methodSetter("setAuthMethod", 0));
        mapper.addRule("web-app/login-config/realm-name",
                       mapper.methodSetter("setRealmName", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-login-page",
                       mapper.methodSetter("setLoginPage", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-error-page",
                       mapper.methodSetter("setErrorPage", 0));
View Full Code Here

        mapper.addRule("web-app/login-config/auth-method",
                       mapper.methodSetter("setAuthMethod", 0));
        mapper.addRule("web-app/login-config/realm-name",
                       mapper.methodSetter("setRealmName", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-login-page",
                       mapper.methodSetter("setLoginPage", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-error-page",
                       mapper.methodSetter("setErrorPage", 0));

        mapper.addRule("web-app/mime-mapping",
                       mapper.methodSetter("addMimeMapping", 2));
View Full Code Here

        mapper.addRule("web-app/login-config/realm-name",
                       mapper.methodSetter("setRealmName", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-login-page",
                       mapper.methodSetter("setLoginPage", 0));
        mapper.addRule("web-app/login-config/form-login-config/form-error-page",
                       mapper.methodSetter("setErrorPage", 0));

        mapper.addRule("web-app/mime-mapping",
                       mapper.methodSetter("addMimeMapping", 2));
        mapper.addRule("web-app/mime-mapping/extension",
                       mapper.methodParam(0));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.