⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tagutil.java

📁 webwork source
💻 JAVA
字号:
/* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.view.taglib;import javax.servlet.jsp.tagext.Tag;/** *  This class contains utility methods that are used by most of the tags. *  These methods can also be used by other code that wants to access this *  type of functionality, such as Java code in JSP's. * *  @author Rickard 謆erg (rickard@dreambean.com) *  @version $Revision: 1.1 $ */public abstract class TagUtil{   // Static --------------------------------------------------------   public static Tag findTagWithClass(Tag current, Class cl)   {      Tag p = current.getParent();      while(p != null)      {         if(cl.isAssignableFrom(p.getClass()))            return p;         p = p.getParent();      }      return null;   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -