KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > pageflow > macro > IsNotEmptyTag


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.bridge.jsp.taglib.pageflow.macro;
11
12 /**
13  * Checks if the parent writer is not empty.
14  *
15  * @author Michiel Meeuwissen
16  * @version $Id: IsNotEmptyTag.java,v 1.3 2003/06/06 10:03:30 pierre Exp $
17  */

18
19 public class IsNotEmptyTag extends IsEmptyTag {
20     protected boolean doCompare(Comparable JavaDoc compare1, Comparable JavaDoc compare2) {
21         return ! super.doCompare(compare1, compare2);
22     }
23 }
24
Popular Tags