Examples of methodSetter()


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

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

      // 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) );
View Full Code Here

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

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

      xh.addRule("web-app/servlet-mapping", xh.methodSetter("addServletMapping", 2) );
      xh.addRule("web-app/servlet-mapping/servlet-name", xh.methodParam(1) );
View Full Code Here

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

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

      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) );
View Full Code Here

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

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

      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) );
View Full Code Here

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

      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) );
View Full Code Here

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

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

      xh.addRule("web-app/env-entry", xh.methodSetter("addEnvEntry", 4) );
      xh.addRule("web-app/env-entry/env-entry-name", xh.methodParam(0) );
View Full Code Here

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

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

      xh.addRule("web-app/env-entry", xh.methodSetter("addEnvEntry", 4) );
      xh.addRule("web-app/env-entry/env-entry-name", xh.methodParam(0) );
      xh.addRule("web-app/env-entry/env-entry-type", xh.methodParam(1) );
      xh.addRule("web-app/env-entry/env-entry-value", xh.methodParam(2) );
      xh.addRule("web-app/env-entry/description", xh.methodParam(3) );
View Full Code Here

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

      xh.addRule("web-app/env-entry/env-entry-name", xh.methodParam(0) );
      xh.addRule("web-app/env-entry/env-entry-type", xh.methodParam(1) );
      xh.addRule("web-app/env-entry/env-entry-value", xh.methodParam(2) );
      xh.addRule("web-app/env-entry/description", xh.methodParam(3) );

      xh.addRule("web-app/login-config", xh.methodSetter("setLoginConfig", 4) );
      xh.addRule("web-app/login-config/auth-method", xh.methodParam(0) );
      xh.addRule("web-app/login-config/realm-name", xh.methodParam(1) );
      xh.addRule("web-app/login-config/form-login-config/form-login-page", xh.methodParam(2) );
      xh.addRule("web-app/login-config/form-login-config/form-error-page", xh.methodParam(3) );
View Full Code Here

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

      xh.addRule("web-app/login-config/auth-method", xh.methodParam(0) );
      xh.addRule("web-app/login-config/realm-name", xh.methodParam(1) );
      xh.addRule("web-app/login-config/form-login-config/form-login-page", xh.methodParam(2) );
      xh.addRule("web-app/login-config/form-login-config/form-error-page", xh.methodParam(3) );

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

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 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.