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

                            "configClass"));
        mapper.addRule("Server/Service/Engine/Host", mapper.addChild
                       ("addChild", "org.apache.catalina.Container"));

        mapper.addRule("Server/Service/Engine/Host/Alias",
                       mapper.methodSetter("addAlias", 0));

        mapper.addRule("Server/Service/Engine/Host/Cluster",
                       mapper.objectCreate(null, "className"));
        mapper.addRule("Server/Service/Engine/Host/Cluster",
                       mapper.setProperties());
View Full Code Here

                              Constants.TldDtdResourcePath_11);
        mapper.registerDTDRes(Constants.TldDtdPublicId_12,
                              Constants.TldDtdResourcePath_12);

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

        return (mapper);

    }
View Full Code Here

        mapper.addRule("web-app",
                       new SetPublicIdAction("setPublicId"));

        mapper.addRule("web-app/context-param",
                       mapper.methodSetter("addParameter", 2));
        mapper.addRule("web-app/context-param/param-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/context-param/param-value",
                       mapper.methodParam(1));
View Full Code Here

                       mapper.methodParam(0));
        mapper.addRule("web-app/context-param/param-value",
                       mapper.methodParam(1));

        mapper.addRule("web-app/display-name",
                       mapper.methodSetter("setDisplayName", 0));

        mapper.addRule("web-app/distributable",
                       new SetDistributableAction());

        mapper.addRule("web-app/ejb-local-ref",
View Full Code Here

                 mapper.objectCreate("org.apache.catalina.deploy.ContextLocalEjb"));
        mapper.addRule("web-app/ejb-local-ref",
                       mapper.addChild("addLocalEjb",
                                     "org.apache.catalina.deploy.ContextLocalEjb"));
        mapper.addRule("web-app/ejb-local-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-type",
                       mapper.methodSetter("setType", 0));
        mapper.addRule("web-app/ejb-local-ref/local-home",
View Full Code Here

                       mapper.addChild("addLocalEjb",
                                     "org.apache.catalina.deploy.ContextLocalEjb"));
        mapper.addRule("web-app/ejb-local-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-type",
                       mapper.methodSetter("setType", 0));
        mapper.addRule("web-app/ejb-local-ref/local-home",
                       mapper.methodSetter("setHome", 0));
        mapper.addRule("web-app/ejb-local-ref/local",
View Full Code Here

        mapper.addRule("web-app/ejb-local-ref/description",
                       mapper.methodSetter("setDescription", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-type",
                       mapper.methodSetter("setType", 0));
        mapper.addRule("web-app/ejb-local-ref/local-home",
                       mapper.methodSetter("setHome", 0));
        mapper.addRule("web-app/ejb-local-ref/local",
                       mapper.methodSetter("setLocal", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-link",
View Full Code Here

        mapper.addRule("web-app/ejb-local-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-type",
                       mapper.methodSetter("setType", 0));
        mapper.addRule("web-app/ejb-local-ref/local-home",
                       mapper.methodSetter("setHome", 0));
        mapper.addRule("web-app/ejb-local-ref/local",
                       mapper.methodSetter("setLocal", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-link",
                       mapper.methodSetter("setLink", 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.