Examples of methodParam()


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

        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));

        mapper.addRule("web-app/filter-mapping",
                  mapper.objectCreate("org.apache.catalina.deploy.FilterMap"));
View Full Code Here

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

        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));

        mapper.addRule("web-app/filter-mapping",
                  mapper.objectCreate("org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping",
                       mapper.addChild("addFilterMap",
View Full Code Here

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

                       mapper.methodSetter("setErrorPage", 0));

        mapper.addRule("web-app/mime-mapping",
                       mapper.methodSetter("addMimeMapping", 2));
        mapper.addRule("web-app/mime-mapping/extension",
                       mapper.methodParam(0));
        mapper.addRule("web-app/mime-mapping/mime-type",
                       mapper.methodParam(1));


        mapper.addRule("web-app/resource-env-ref",
View Full Code Here

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

        mapper.addRule("web-app/mime-mapping",
                       mapper.methodSetter("addMimeMapping", 2));
        mapper.addRule("web-app/mime-mapping/extension",
                       mapper.methodParam(0));
        mapper.addRule("web-app/mime-mapping/mime-type",
                       mapper.methodParam(1));


        mapper.addRule("web-app/resource-env-ref",
                       mapper.methodSetter("addResourceEnvRef", 2));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-name",
View Full Code Here

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


        mapper.addRule("web-app/resource-env-ref",
                       mapper.methodSetter("addResourceEnvRef", 2));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-type",
                       mapper.methodParam(1));

        mapper.addRule("web-app/resource-ref",
            mapper.objectCreate("org.apache.catalina.deploy.ContextResource"));
View Full Code Here

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

        mapper.addRule("web-app/resource-env-ref",
                       mapper.methodSetter("addResourceEnvRef", 2));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-type",
                       mapper.methodParam(1));

        mapper.addRule("web-app/resource-ref",
            mapper.objectCreate("org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref",
                mapper.addChild("addResource",
View Full Code Here

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

                       mapper.methodSetter("setName", 0));

        mapper.addRule("web-app/security-role",
                       mapper.methodSetter("addSecurityRole", 1));
        mapper.addRule("web-app/security-role/role-name",
                       mapper.methodParam(0));

        mapper.addRule("web-app/servlet",
                       new WrapperCreate(context));
        mapper.addRule("web-app/servlet",
                       mapper.addChild("addChild",
View Full Code Here

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

                       mapper.addChild("addChild",
                                       "org.apache.catalina.Container"));
        mapper.addRule("web-app/servlet/init-param",
                       mapper.methodSetter("addInitParameter", 2));
        mapper.addRule("web-app/servlet/init-param/param-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/servlet/init-param/param-value",
                       mapper.methodParam(1));
        mapper.addRule("web-app/servlet/jsp-file",
                       mapper.methodSetter("setJspFile", 0));
        mapper.addRule("web-app/servlet/load-on-startup",
View Full Code Here

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

        mapper.addRule("web-app/servlet/init-param",
                       mapper.methodSetter("addInitParameter", 2));
        mapper.addRule("web-app/servlet/init-param/param-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/servlet/init-param/param-value",
                       mapper.methodParam(1));
        mapper.addRule("web-app/servlet/jsp-file",
                       mapper.methodSetter("setJspFile", 0));
        mapper.addRule("web-app/servlet/load-on-startup",
                       mapper.methodSetter("setLoadOnStartupString", 0));
        mapper.addRule("web-app/servlet/run-as/role-name",
View Full Code Here

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

        mapper.addRule("web-app/servlet/run-as/role-name",
                       mapper.methodSetter("setRunAs", 0));
        mapper.addRule("web-app/servlet/security-role-ref",
                       mapper.methodSetter("addSecurityReference", 2));
        mapper.addRule("web-app/servlet/security-role-ref/role-link",
                       mapper.methodParam(1));
        mapper.addRule("web-app/servlet/security-role-ref/role-name",
                       mapper.methodParam(0));
        mapper.addRule("web-app/servlet/servlet-class",
                       mapper.methodSetter("setServletClass", 0));
        mapper.addRule("web-app/servlet/servlet-name",
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.