info.magnolia.cms.taglibs
Class IfNotExisting

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by info.magnolia.cms.taglibs.BaseContentTag
          extended by info.magnolia.cms.taglibs.BaseConditionalContentTag
              extended by info.magnolia.cms.taglibs.IfExisting
                  extended by info.magnolia.cms.taglibs.IfNotExisting
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class IfNotExisting
extends IfExisting

Evaluates the body only if a container and / or the corresponding atom does not exist.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
Marcel Salathe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
IfNotExisting()
           
 
Method Summary
protected  boolean condition()
          Subclasses implement this method to compute the boolean result of the conditional action.
 
Methods inherited from class info.magnolia.cms.taglibs.IfExisting
setNodeDataName
 
Methods inherited from class info.magnolia.cms.taglibs.BaseConditionalContentTag
doStartTag
 
Methods inherited from class info.magnolia.cms.taglibs.BaseContentTag
getContentNode, getContentNodeCollectionName, getContentNodeName, getCurrentPage, getFirstMatchingNode, getFirtMatchingNode, getNodeDataName, getPath, getRepository, getUuid, isActpage, release, resolveNode, setActpage, setContentNode, setContentNodeCollectionName, setContentNodeName, setInherit, setPath, setRepository, setUuid
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfNotExisting

public IfNotExisting()
Method Detail

condition

protected boolean condition()
Description copied from class: BaseConditionalContentTag

Subclasses implement this method to compute the boolean result of the conditional action. This method is invoked once per tag invocation by doStartTag().

Overrides:
condition in class IfExisting
Returns:
a boolean representing the condition that a particular subclass uses to drive its conditional logic.


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.