亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? columntag.java

?? dispalytag的源碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/** * Licensed under the Artistic License; you may not use this file * except in compliance with the License. * You may obtain a copy of the License at * *      http://displaytag.sourceforge.net/license.html * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */package org.displaytag.tags;import java.text.Collator;import java.util.ArrayList;import java.util.Comparator;import java.util.List;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.jsp.JspException;import javax.servlet.jsp.tagext.BodyTagSupport;import org.apache.commons.lang.StringUtils;import org.apache.commons.lang.builder.ToStringBuilder;import org.apache.commons.lang.builder.ToStringStyle;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.displaytag.decorator.AutolinkColumnDecorator;import org.displaytag.decorator.DisplaytagColumnDecorator;import org.displaytag.decorator.EscapeXmlColumnDecorator;import org.displaytag.decorator.MessageFormatColumnDecorator;import org.displaytag.exception.DecoratorInstantiationException;import org.displaytag.exception.InvalidTagAttributeValueException;import org.displaytag.exception.ObjectLookupException;import org.displaytag.exception.TagStructureException;import org.displaytag.model.Cell;import org.displaytag.model.DefaultComparator;import org.displaytag.model.HeaderCell;import org.displaytag.properties.MediaTypeEnum;import org.displaytag.properties.SortOrderEnum;import org.displaytag.util.DefaultHref;import org.displaytag.util.Href;import org.displaytag.util.HtmlAttributeMap;import org.displaytag.util.MediaUtil;import org.displaytag.util.MultipleHtmlAttribute;import org.displaytag.util.TagConstants;/** * <p> * This tag works hand in hand with the TableTag to display a list of objects. This describes a column of data in the * TableTag. There can be any number of columns that make up the list. * </p> * <p> * This tag does no work itself, it is simply a container of information. The TableTag does all the work based on the * information provided in the attributes of this tag. * <p> * @author mraible * @author Fabrizio Giustina * @version $Revision: 1097 $ ($Author: rapruitt $) */public class ColumnTag extends BodyTagSupport implements MediaUtil.SupportsMedia{    /**     * D1597A17A6.     */    private static final long serialVersionUID = 899149338534L;    /**     * logger.     */    private static Log log = LogFactory.getLog(ColumnTag.class);    /**     * html pass-through attributes for cells.     */    private HtmlAttributeMap attributeMap = new HtmlAttributeMap();    /**     * html pass-through attributes for cell headers.     */    private HtmlAttributeMap headerAttributeMap = new HtmlAttributeMap();    /**     * the property method that is called to retrieve the information to be displayed in this column. This method is     * called on the current object in the iteration for the given row. The property format is in typical struts format     * for properties (required)     */    private String property;    /**     * the title displayed for this column. if this is omitted then the property name is used for the title of the     * column (optional).     */    private String title;    /**     * by default, null values don't appear in the list, by setting viewNulls to 'true', then null values will appear as     * "null" in the list (mostly useful for debugging) (optional).     */    private boolean nulls;    /**     * is the column sortable?     */    private boolean sortable;    /**     * Name given to the server when sorting this column.     */    private String sortName;    /**     * Defalt sort order for this column.     */    private SortOrderEnum defaultorder;    /**     * The comparator to use when sorting this column.     */    private Comparator comparator;    /**     * if set to true, then any email addresses and URLs found in the content of the column are automatically converted     * into a hypertext link.     */    private boolean autolink;    /**     * Automatically escape column content for html and xml media.     */    private boolean escapeXml;    /**     * A MessageFormat patter that will be used to decorate objects in the column. Can be used as a "shortcut" for     * simple column decorations.     */    private String format;    /**     * the grouping level (starting at 1 and incrementing) of this column (indicates if successive contain the same     * values, then they should not be displayed). The level indicates that if a lower level no longer matches, then the     * matching for this higher level should start over as well. If this attribute is not included, then no grouping is     * performed. (optional)     */    private int group = -1;    /**     * if this attribute is provided, then the data that is shown for this column is wrapped inside a &lt;a href&gt; tag     * with the url provided through this attribute. Typically you would use this attribute along with one of the     * struts-like param attributes below to create a dynamic link so that each row creates a different URL based on the     * data that is being viewed. (optional)     */    private Href href;    /**     * The name of the request parameter that will be dynamically added to the generated href URL. The corresponding     * value is defined by the paramProperty and (optional) paramName attributes, optionally scoped by the paramScope     * attribute. (optional)     */    private String paramId;    /**     * The name of a JSP bean that is a String containing the value for the request parameter named by paramId (if     * paramProperty is not specified), or a JSP bean whose property getter is called to return a String (if     * paramProperty is specified). The JSP bean is constrained to the bean scope specified by the paramScope property,     * if it is specified. If paramName is omitted, then it is assumed that the current object being iterated on is the     * target bean. (optional)     */    private String paramName;    /**     * The name of a property of the bean specified by the paramName attribute (or the current object being iterated on     * if paramName is not provided), whose return value must be a String containing the value of the request parameter     * (named by the paramId attribute) that will be dynamically added to this href URL. (optional)     * @deprecated use Expressions in paramName     */    private String paramProperty;    /**     * The scope within which to search for the bean specified by the paramName attribute. If not specified, all scopes     * are searched. If paramName is not provided, then the current object being iterated on is assumed to be the target     * bean. (optional)     * @deprecated use Expressions in paramName     */    private String paramScope;    /**     * If this attribute is provided, then the column's displayed is limited to this number of characters. An elipse     * (...) is appended to the end if this column is linked, and the user can mouseover the elipse to get the full     * text. (optional)     */    private int maxLength;    /**     * If this attribute is provided, then the column's displayed is limited to this number of words. An elipse (...) is     * appended to the end if this column is linked, and the user can mouseover the elipse to get the full text.     * (optional)     */    private int maxWords;    /**     * a class that should be used to "decorate" the underlying object being displayed. If a decorator is specified for     * the entire table, then this decorator will decorate that decorator. (optional)     */    private String decorator;    /**     * is the column already sorted?     */    private boolean alreadySorted;    /**     * The media supported attribute.     */    private List supportedMedia;    /**     * Property in a resource bundle to be used as the title for the column.     */    private String titleKey;    /**     * The name of the bean property if a decorator is used and sorting need to be still on on the property itself.     * Useful for displaying data with links but sorting on original value.     */    private String sortProperty;    /**     * Should the value of the column be summed? Requires that the value of the column be convertible to a Number.     */    private boolean totaled;    /**     * Static value for this cell, equivalent to column body.     */    private Object value;    /**     * Setter for totals.     * @param totals the value     */    public void setTotal(boolean totals)    {        this.totaled = totals;    }    /**     * setter for the "property" tag attribute.     * @param value attribute value     */    public void setProperty(String value)    {        this.property = value;    }    /**     * setter for the "value" tag attribute.     * @param value attribute value     */    public void setValue(Object value)    {        this.value = value;    }    /**     * Set the comparator, classname or object.     * @param comparatorObj the comparator, classname or object     */    public void setComparator(Object comparatorObj)    {        // @todo don't do this! Setters should remains simple setters and any evaluation should be done in doEndTag()!        if (comparatorObj instanceof Comparator)        {            this.comparator = (Comparator) comparatorObj;        }        else if (comparatorObj instanceof String)        {            String comparatorClassname = (String) comparatorObj;            Class compClass;            try            {                compClass = Thread.currentThread().getContextClassLoader().loadClass(comparatorClassname);            }            catch (ClassNotFoundException e)            {                throw new RuntimeException("InstantiationException setting column comparator as "                    + comparatorClassname                    + ": "                    + e.getMessage(), e);            }            try            {                this.comparator = (Comparator) compClass.newInstance();            }            catch (InstantiationException e)            {                throw new RuntimeException("InstantiationException setting column comparator as "                    + comparatorClassname                    + ": "                    + e.getMessage(), e);            }            catch (IllegalAccessException e)            {                throw new RuntimeException("IllegalAccessException setting column comparator as "                    + comparatorClassname                    + ": "                    + e.getMessage(), e);            }        }        else        {            throw new IllegalArgumentException("Value for comparator: "                + comparatorObj                + " of type "                + comparatorObj.getClass().getName());        }    }    /**     * setter for the "title" tag attribute.     * @param value attribute value     */    public void setTitle(String value)    {        this.title = value;    }    /**     * setter for the "format" tag attribute.     * @param value attribute value     */    public void setFormat(String value)    {        this.format = value;    }    /**     * setter for the "nulls" tag attribute.     * @param value attribute value     */    public void setNulls(boolean value)    {        this.nulls = value;    }    /**     * setter for the "sortable" tag attribute.     * @param value attribute value     */    public void setSortable(boolean value)    {        this.sortable = value;    }    /**     * setter for the "autolink" tag attribute.     * @param value attribute value     */    public void setAutolink(boolean value)    {        this.autolink = value;    }    /**     * setter for the "escapeXml" tag attribute.     * @param value attribute value     */    public void setEscapeXml(boolean value)    {        this.escapeXml = value;    }    /**     * setter for the "group" tag attribute.     * @param value attribute value     */    public void setGroup(int value)    {        this.group = value;    }    /**     * setter for the "titleKey" tag attribute.     * @param value property name     */    public void setTitleKey(String value)    {        this.titleKey = value;    }    /**     * setter for the "href" tag attribute.     * @param value attribute value     */    public void setHref(String value)    {        // call encodeURL to preserve session id when cookies are disabled        String encodedHref = ((HttpServletResponse) this.pageContext.getResponse()).encodeURL(StringUtils            .defaultString(value));        this.href = new DefaultHref(encodedHref);    }    /**     * setter for the "url" tag attribute. This has the same meaning of href, but prepends the context path to the given     * URI.     * @param value attribute value     */    public void setUrl(String value)    {        HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();        // call encodeURL to preserve session id when cookies are disabled        String encodedHref = ((HttpServletResponse) this.pageContext.getResponse()).encodeURL(StringUtils            .defaultString(req.getContextPath() + value));        this.href = new DefaultHref(encodedHref);    }    /**     * setter for the "paramId" tag attribute.     * @param value attribute value     */    public void setParamId(String value)    {        this.paramId = value;    }    /**     * setter for the "paramName" tag attribute.     * @param value attribute value     */    public void setParamName(String value)    {        this.paramName = value;    }    /**     * setter for the "paramProperty" tag attribute.     * @param value attribute value     */    public void setParamProperty(String value)    {        this.paramProperty = value;    }    /**     * setter for the "paramScope" tag attribute.     * @param value attribute value     */    public void setParamScope(String value)    {        this.paramScope = value;    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内精品嫩模私拍在线| 天天色天天操综合| 日韩欧美激情四射| 3atv在线一区二区三区| 欧美日韩一区高清| 欧美日本视频在线| 91精品国产一区二区人妖| 91精品国产欧美一区二区成人| 欧美在线免费播放| 欧美激情一区二区在线| 国产午夜亚洲精品午夜鲁丝片| 国产三区在线成人av| 国产日韩欧美精品电影三级在线| 久久亚洲免费视频| 国产精品视频一二三区| 亚洲视频网在线直播| 亚洲图片欧美一区| 日韩av电影一区| 国产精品系列在线观看| 不卡av电影在线播放| 色婷婷综合久久久| 欧美一三区三区四区免费在线看| 欧美变态tickling挠脚心| 国产人伦精品一区二区| 亚洲色图欧洲色图婷婷| 日本美女一区二区| 成人免费视频视频在线观看免费 | 亚洲成人一区在线| 青椒成人免费视频| 岛国一区二区在线观看| 在线免费观看日韩欧美| 久久综合九色综合欧美98 | 欧美日韩情趣电影| 精品国产乱码久久久久久久 | 日韩欧美一区二区不卡| 国产亚洲欧美日韩在线一区| 亚洲精品欧美专区| 久久99精品久久久久久久久久久久| 成人免费高清视频| 欧美一区二区三区影视| 国产蜜臀97一区二区三区| 亚洲一区二区av在线| 国产成人午夜视频| 欧美日韩国产精选| 最好看的中文字幕久久| 久久精品国产精品亚洲红杏| 91啪在线观看| 久久精品视频一区二区| 亚洲va欧美va国产va天堂影院| 国产黑丝在线一区二区三区| 欧美电影影音先锋| 成人欧美一区二区三区白人| 九色综合狠狠综合久久| 欧美性大战久久| 亚洲欧美日韩电影| 国产麻豆欧美日韩一区| 91精品蜜臀在线一区尤物| 亚洲美女视频在线| 成人午夜电影网站| 久久蜜桃av一区二区天堂| 五月婷婷激情综合| 日本二三区不卡| 亚洲国产精华液网站w| 久久se精品一区精品二区| 欧美日韩一级黄| 亚洲国产日日夜夜| 欧美视频一区二区| 一区二区三区在线观看国产| 91在线视频免费观看| 亚洲日本乱码在线观看| 国产91精品免费| 国产农村妇女毛片精品久久麻豆| 韩国成人福利片在线播放| 精品少妇一区二区三区视频免付费| 日韩电影在线一区二区| 91麻豆精品国产91久久久久久久久| 亚洲自拍偷拍图区| 色天天综合色天天久久| 亚洲综合清纯丝袜自拍| 欧美色综合影院| 亚洲成人综合在线| 欧美高清视频www夜色资源网| 亚洲成人在线网站| 欧美一级高清大全免费观看| 久久99精品国产.久久久久| 久久一二三国产| 国产91富婆露脸刺激对白| 国产精品人人做人人爽人人添| 成人高清伦理免费影院在线观看| 国产精品污www在线观看| 91玉足脚交白嫩脚丫在线播放| 日韩伦理电影网| 欧美日韩国产高清一区| 美女性感视频久久| 国产婷婷色一区二区三区| 成人免费视频一区| 亚洲午夜免费福利视频| 日韩一级大片在线| 国产69精品一区二区亚洲孕妇| 亚洲婷婷综合色高清在线| 欧美午夜免费电影| 蜜臀av性久久久久蜜臀aⅴ| 欧美精品一区二区不卡| 粉嫩在线一区二区三区视频| 亚洲少妇30p| 欧美一区二区美女| jlzzjlzz亚洲日本少妇| 一区二区成人在线| 久久久欧美精品sm网站| 91蜜桃传媒精品久久久一区二区| 亚洲国产美女搞黄色| 欧美一级艳片视频免费观看| 懂色av一区二区三区蜜臀| 一区二区三区在线观看网站| 精品国产凹凸成av人网站| 成人av在线播放网址| 日产国产高清一区二区三区| 日本一区二区动态图| 欧美男同性恋视频网站| 丁香婷婷深情五月亚洲| 日本在线不卡视频| 亚洲免费观看高清在线观看| 精品国产99国产精品| 91久久香蕉国产日韩欧美9色| 久热成人在线视频| 亚洲猫色日本管| 久久亚洲免费视频| 91精品国产综合久久香蕉麻豆| 成人av在线一区二区三区| 蜜臀久久99精品久久久画质超高清 | aaa亚洲精品| 久久国产乱子精品免费女| 亚洲一二三四区不卡| 国产人久久人人人人爽| 欧美xxxx老人做受| 欧美顶级少妇做爰| 欧美日韩一区在线观看| 91尤物视频在线观看| 岛国精品在线观看| 欧美卡1卡2卡| 91极品视觉盛宴| 95精品视频在线| 成人教育av在线| 国产精品综合在线视频| 男人的j进女人的j一区| 亚洲成人综合网站| 亚洲图片欧美色图| 亚洲已满18点击进入久久| 国产精品久久久久久久久动漫| 久久亚洲一区二区三区四区| 欧美成人高清电影在线| 精品久久久久久无| 日韩免费看的电影| 精品久久久久一区二区国产| 日韩视频在线观看一区二区| 正在播放亚洲一区| 日韩欧美一级二级三级久久久| 日韩一区和二区| 欧美变态tickling挠脚心| 久久久一区二区三区| 久久久久久久久久美女| 久久九九久久九九| 欧美激情一区二区三区| 中国av一区二区三区| 中文字幕一区二区三区精华液| 18涩涩午夜精品.www| 亚洲黄色免费电影| 天堂av在线一区| 久久成人麻豆午夜电影| 国产一区二区在线观看视频| 成人午夜又粗又硬又大| 91网站黄www| 欧美一区二区三区免费视频| 日韩免费观看高清完整版在线观看| 亚洲精品在线免费播放| 欧美极品xxx| 亚洲国产另类精品专区| 蜜桃av一区二区三区电影| 国产成人av一区二区三区在线观看| 成人av电影在线网| 欧美巨大另类极品videosbest| 欧美一区二区美女| 中文字幕亚洲成人| 亚洲va中文字幕| 福利一区二区在线| 91国偷自产一区二区三区观看| 正在播放亚洲一区| 国产精品久久久久影院色老大 | 亚洲国产精品国自产拍av| 自拍av一区二区三区| 日本中文一区二区三区| 国产不卡视频在线播放| 91久久精品一区二区二区| 精品乱码亚洲一区二区不卡| 一色屋精品亚洲香蕉网站| 日韩精品一卡二卡三卡四卡无卡| 国产寡妇亲子伦一区二区| 欧美日韩和欧美的一区二区| 国产日产亚洲精品系列| 日韩中文字幕1|