org.apache.shale.taglib
Class TokenTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.shale.taglib.TokenTag
All Implemented Interfaces:
JspTag, Tag

public class TokenTag
extends javax.faces.webapp.UIComponentTag

JSP custom tag for the Token component.

$Id: TokenTag.java 464373 2006-10-16 04:21:54Z rahul $


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TokenTag()
           
 
Method Summary
 String getComponentType()
          Return the required component type.
 String getMessageDetail()
          Returns a messageDetail override used when reporting a Token verification failure.
 String getMessageSummary()
          Returns a messageSummary override used when reporting a Token verification failure.
 String getRendererType()
          Return the required renderer type.
 void setMessageDetail(String message)
          Sets a messageDetail override used when reporting a Token verification failure.
 void setMessageSummary(String message)
          Sets a messageSummary override used when reporting a Token verification failure.
protected  void setProperties(javax.faces.component.UIComponent component)
          Pushs the tag attributes to the Token's component properties.
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, release, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenTag

public TokenTag()
Method Detail

setProperties

protected void setProperties(javax.faces.component.UIComponent component)

Pushs the tag attributes to the Token's component properties.

Overrides:
setProperties in class javax.faces.webapp.UIComponentTag
Parameters:
component - Component for which to set properties

getComponentType

public String getComponentType()

Return the required component type.

Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag

getRendererType

public String getRendererType()

Return the required renderer type.

Specified by:
getRendererType in class javax.faces.webapp.UIComponentTag

setMessageSummary

public void setMessageSummary(String message)

Sets a messageSummary override used when reporting a Token verification failure.

Parameters:
message - The new message summary

getMessageSummary

public String getMessageSummary()

Returns a messageSummary override used when reporting a Token verification failure.


setMessageDetail

public void setMessageDetail(String message)

Sets a messageDetail override used when reporting a Token verification failure.

Parameters:
message - The new message detail

getMessageDetail

public String getMessageDetail()

Returns a messageDetail override used when reporting a Token verification failure.



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.