Examples of methodSetter()


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

      xh.addRule("web-app/servlet/init-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/init-param/param-value", xh.methodParam(1) );

      xh.addRule("web-app/servlet/icon/small-icon", xh.methodSetter("setIcon",0 )); // icon, body
      xh.addRule("web-app/servlet/description", xh.methodSetter("setDescription", 0) ); // description, body
      xh.addRule("web-app/servlet/load-on-startup", xh.methodSetter("setLoadOnStartUp", 0 ));


      addSecurity( xh );

            Object ctx1=null;
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.