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.tomcat.util.xml.XmlMapper.methodParam()

      // By using dtdURL you brake most parsers ( at least xerces )
      xh.registerDTDRes("-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN",
            "org/apache/tomcat/resources/web.dtd");

      xh.addRule("web-app/context-param", xh.methodSetter("addInitParameter", 2) );
      xh.addRule("web-app/context-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/context-param/param-value", xh.methodParam(1) );

      xh.addRule("web-app/description", xh.methodSetter("setDescription", 0) );
      xh.addRule("web-app/icon/small-icon", xh.methodSetter("setIcon", 0) );
      xh.addRule("web-app/distributable", xh.methodSetter("setDistributable", 0) );
View Full Code Here

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

      xh.registerDTDRes("-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN",
            "org/apache/tomcat/resources/web.dtd");

      xh.addRule("web-app/context-param", xh.methodSetter("addInitParameter", 2) );
      xh.addRule("web-app/context-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/context-param/param-value", xh.methodParam(1) );

      xh.addRule("web-app/description", xh.methodSetter("setDescription", 0) );
      xh.addRule("web-app/icon/small-icon", xh.methodSetter("setIcon", 0) );
      xh.addRule("web-app/distributable", xh.methodSetter("setDistributable", 0) );
View Full Code Here

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

      xh.addRule("web-app/description", xh.methodSetter("setDescription", 0) );
      xh.addRule("web-app/icon/small-icon", xh.methodSetter("setIcon", 0) );
      xh.addRule("web-app/distributable", xh.methodSetter("setDistributable", 0) );

      xh.addRule("web-app/servlet-mapping", xh.methodSetter("addServletMapping", 2) );
      xh.addRule("web-app/servlet-mapping/servlet-name", xh.methodParam(1) );
      xh.addRule("web-app/servlet-mapping/url-pattern", xh.methodParam(0) );

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

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

      xh.addRule("web-app/icon/small-icon", xh.methodSetter("setIcon", 0) );
      xh.addRule("web-app/distributable", xh.methodSetter("setDistributable", 0) );

      xh.addRule("web-app/servlet-mapping", xh.methodSetter("addServletMapping", 2) );
      xh.addRule("web-app/servlet-mapping/servlet-name", xh.methodParam(1) );
      xh.addRule("web-app/servlet-mapping/url-pattern", xh.methodParam(0) );

      xh.addRule("web-app/taglib", xh.methodSetter("addTaglib", 2) );
      xh.addRule("web-app/taglib/taglib-uri", xh.methodParam(0) );
      xh.addRule("web-app/taglib/taglib-location", xh.methodParam(1) );
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.