Package org.apache.tomcat.util.xml

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


      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

      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

      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

      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) );
      xh.addRule("web-app/env-entry/env-entry-type", xh.methodParam(1) );
View Full Code Here

      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) );
      xh.addRule("web-app/env-entry/env-entry-type", xh.methodParam(1) );
      xh.addRule("web-app/env-entry/env-entry-value", xh.methodParam(2) );
View Full Code Here

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

      xh.addRule("web-app/login-config", xh.methodSetter("setLoginConfig", 4) );
View Full Code Here

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

      xh.addRule("web-app/login-config", xh.methodSetter("setLoginConfig", 4) );
      xh.addRule("web-app/login-config/auth-method", xh.methodParam(0) );
View Full Code Here

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

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

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

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