| java.lang.Object javax.servlet.jsp.tagext.TagSupport com.sun.portal.wireless.taglibs.base.BaseTagSupport com.sun.portal.wireless.taglibs.base.BeanSupport com.sun.portal.wireless.taglibs.base.BeanTestTag com.sun.portal.wireless.taglibs.base.BeanTestNotTag
All known Subclasses: com.sun.portal.wireless.taglibs.util.BeanTestNotTag,
BeanTestNotTag | public class BeanTestNotTag extends BeanTestTag (Code) | | BeanTestNotTag - test a bean property
Evaluates the body if the property is false; else skips the body.
This is the opposite of BeanTestTag.
A bean property is evaluated as follows:
- if the property value is null then return false
- if the value is a boolean then return the boolean value
- if the value is some other object then compare it to the specified value
Attributes:
property
name of the bean property to test
value
value of the bean property to test; optional
id
object value of the bean property to test; optional
name
name to use to find the bean on the page context
author: Robert O'Brien version: 1.0 See Also: BeanSetTag See Also: BeanSupport |
evaluate | public boolean evaluate(Object prop, Object test)(Code) | | Evaluate a bean property; invert the BeanTest evaluation
Parameters: prop - the bean property value to test Parameters: test - the test value to compare against true if the two values are considered equivalent |
Methods inherited from com.sun.portal.wireless.taglibs.base.BeanSupport | public static Object accessProperty(Object bean, String property, Method method, Object args) throws IntrospectionException(Code)(Java Doc) public Object accessProperty(Object bean, Method method, Object args) throws IntrospectionException(Code)(Java Doc) public int doEndTag() throws JspException(Code)(Java Doc) public int doStartTag() throws JspException(Code)(Java Doc) public Object findBean()(Code)(Java Doc) public Object getBean()(Code)(Java Doc) public static HashMap getBeanProperties(Object bean) throws IntrospectionException(Code)(Java Doc) public static Object getInstanceOf(Object obj, Class target) throws InstantiationException(Code)(Java Doc) public String getProperty()(Code)(Java Doc) public static PropertyDescriptor getPropertyDescriptor(Object bean, String property) throws IntrospectionException(Code)(Java Doc) public static Object readProperty(Object bean, String property) throws JspException, IntrospectionException(Code)(Java Doc) public Object readProperty(Object bean) throws JspException, IntrospectionException(Code)(Java Doc) public void release()(Code)(Java Doc) public void setBean(Object bean)(Code)(Java Doc) public void setProperty(String property)(Code)(Java Doc) public static void writeProperty(Object bean, String property, Object value) throws JspException, IntrospectionException(Code)(Java Doc) public void writeProperty(Object bean, Object value) throws JspException, IntrospectionException(Code)(Java Doc)
|
Fields inherited from com.sun.portal.wireless.taglibs.base.BaseTagSupport | protected String name(Code)(Java Doc)
|
|
|