com.sun.rave.faces.taglib
Class AbstractTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentTag
              extended by com.sun.rave.faces.taglib.AbstractTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
EncodingTag

public abstract class AbstractTag
extends javax.faces.webapp.UIComponentTag

Abstract base class for concrete implementations of javax.faces.webapp.UIComponentTag for the Widgets Library.


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Constructor Summary
AbstractTag()
           
 
Method Summary
 void release()
          Release any resources allocated during the execution of this tag handler.
 void setAction(java.lang.String action)
           
 void setActionListener(java.lang.String actionListener)
           
protected  void setBooleanAttribute(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
          If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.
 void setConverter(java.lang.String converter)
           
 void setDir(java.lang.String dir)
           
 void setImmediate(java.lang.String immediate)
           
protected  void setIntegerAttribute(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
          If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.
 void setLang(java.lang.String lang)
           
protected  void setObjectAttribute(javax.faces.component.UIComponent component, java.lang.String name, java.lang.Object value)
          If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.
 void setOnclick(java.lang.String onclick)
           
 void setOndblclick(java.lang.String ondblclick)
           
 void setOnkeydown(java.lang.String onkeydown)
           
 void setOnkeypress(java.lang.String onkeypress)
           
 void setOnkeyup(java.lang.String onkeyup)
           
 void setOnmousedown(java.lang.String onmousedown)
           
 void setOnmousemove(java.lang.String onmousemove)
           
 void setOnmouseout(java.lang.String onmouseout)
           
 void setOnmouseover(java.lang.String onmouseover)
           
protected  void setProperties(javax.faces.component.UIComponent component)
          Override properties and attributes of the specified component, if the corresponding attributes of this tag handler instance were explicitly set.
 void setRequired(java.lang.String required)
           
protected  void setStringAttribute(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
          If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.
 void setStyle(java.lang.String style)
           
 void setStyleClass(java.lang.String styleClass)
           
 void setTitle(java.lang.String title)
           
 void setValidator(java.lang.String validator)
           
 void setValue(java.lang.Object value)
           
 void setValueChangeListener(java.lang.String valueChangeListener)
           
 
Methods inherited from class javax.faces.webapp.UIComponentTag
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class javax.faces.webapp.UIComponentTagBase
getComponentType, getELContext, getRendererType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Constructor Detail

AbstractTag

public AbstractTag()
Method Detail

setAction

public void setAction(java.lang.String action)

setActionListener

public void setActionListener(java.lang.String actionListener)

setConverter

public void setConverter(java.lang.String converter)

setDir

public void setDir(java.lang.String dir)

setImmediate

public void setImmediate(java.lang.String immediate)

setLang

public void setLang(java.lang.String lang)

setOnclick

public void setOnclick(java.lang.String onclick)

setOndblclick

public void setOndblclick(java.lang.String ondblclick)

setOnkeydown

public void setOnkeydown(java.lang.String onkeydown)

setOnkeypress

public void setOnkeypress(java.lang.String onkeypress)

setOnkeyup

public void setOnkeyup(java.lang.String onkeyup)

setOnmousedown

public void setOnmousedown(java.lang.String onmousedown)

setOnmousemove

public void setOnmousemove(java.lang.String onmousemove)

setOnmouseout

public void setOnmouseout(java.lang.String onmouseout)

setOnmouseover

public void setOnmouseover(java.lang.String onmouseover)

setRequired

public void setRequired(java.lang.String required)

setStyle

public void setStyle(java.lang.String style)

setStyleClass

public void setStyleClass(java.lang.String styleClass)

setTitle

public void setTitle(java.lang.String title)

setValidator

public void setValidator(java.lang.String validator)

setValue

public void setValue(java.lang.Object value)

setValueChangeListener

public void setValueChangeListener(java.lang.String valueChangeListener)

release

public void release()

Release any resources allocated during the execution of this tag handler.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentTag

setProperties

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

Override properties and attributes of the specified component, if the corresponding attributes of this tag handler instance were explicitly set.

Overrides:
setProperties in class javax.faces.webapp.UIComponentTag
Parameters:
component - UIComponent instance being created and configured by this tag handler instance

setBooleanAttribute

protected void setBooleanAttribute(javax.faces.component.UIComponent component,
                                   java.lang.String name,
                                   java.lang.String value)

If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.

Parameters:
component - UIComponent whose attribute is to be set
name - Attribute name
value - Attribute value (or null)
Throws:
java.lang.NumberFormatException - if the value does not contain a parsable integer
javax.faces.el.ReferenceSyntaxException - if the expression has invalid syntax

setIntegerAttribute

protected void setIntegerAttribute(javax.faces.component.UIComponent component,
                                   java.lang.String name,
                                   java.lang.String value)

If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.

Parameters:
component - UIComponent whose attribute is to be set
name - Attribute name
value - Attribute value (or null)
Throws:
java.lang.NumberFormatException - if the value does not contain a parsable integer
javax.faces.el.ReferenceSyntaxException - if the expression has invalid syntax

setObjectAttribute

protected void setObjectAttribute(javax.faces.component.UIComponent component,
                                  java.lang.String name,
                                  java.lang.Object value)

If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.

Parameters:
component - UIComponent whose attribute is to be set
name - Attribute name
value - Attribute value (or null)
Throws:
javax.faces.el.ReferenceSyntaxException - if the expression has invalid syntax

setStringAttribute

protected void setStringAttribute(javax.faces.component.UIComponent component,
                                  java.lang.String name,
                                  java.lang.String value)

If the specified attribute value is not null use it to either store a value binding expression for the specified attribute name, or store it as the literal value of the attribute.

Parameters:
component - UIComponent whose attribute is to be set
name - Attribute name
value - Attribute value (or null)
Throws:
javax.faces.el.ReferenceSyntaxException - if the expression has invalid syntax