Package org.apache.catalina.util.xml

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


                       mapper.methodParam(1));
        mapper.addRule("web-app/servlet-mapping/url-pattern",
                       mapper.methodParam(0));

        mapper.addRule("web-app/session-config",
                       mapper.methodSetter("setSessionTimeout", 1,
                                           new String[]{"int"}));
        mapper.addRule("web-app/session-config/session-timeout",
                       mapper.methodParam(0));

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


                                           new String[]{"int"}));
        mapper.addRule("web-app/session-config/session-timeout",
                       mapper.methodParam(0));

        mapper.addRule("web-app/taglib",
                       mapper.methodSetter("addTaglib", 2));
        mapper.addRule("web-app/taglib/taglib-location",
                       mapper.methodParam(1));
        mapper.addRule("web-app/taglib/taglib-uri",
                       mapper.methodParam(0));
View Full Code Here

                       mapper.methodParam(1));
        mapper.addRule("web-app/taglib/taglib-uri",
                       mapper.methodParam(0));

        mapper.addRule("web-app/welcome-file-list/welcome-file",
                       mapper.methodSetter("addWelcomeFile", 0));

        return (mapper);

    }
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.