org.apache.struts.faces.taglib
Class StylesheetTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.faces.webapp.FacesTag
              |
              +--org.apache.struts.faces.taglib.AbstractFacesTag
                    |
                    +--org.apache.struts.faces.taglib.StylesheetTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class StylesheetTag
extends AbstractFacesTag

Render a stylesheet HTML <link> element for the Struts-Faces Integration Library.

Version:
$Revision: 1.1 $ $Date: 2003/03/07 03:22:44 $
Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
private  java.lang.String path
          The context-relative path for this link.
 
Fields inherited from class org.apache.struts.faces.taglib.AbstractFacesTag
bundle, styleClass, value
 
Fields inherited from class javax.faces.webapp.FacesTag
childIndex, component, COMPONENT_STACK_ATTR, componentStack, context, created, modelReference, numChildren, rendered
 
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
StylesheetTag()
           
 
Method Summary
 javax.faces.component.UIComponent createComponent()
          Create and return a new component to be associated with this tag.
 java.lang.String getRendererType()
          Return the rendererType to be used for rendering our component.
protected  void overrideProperties(javax.faces.component.UIComponent component)
          Override attributes set on this tag instance.
 void release()
          Release resources allocated to this tag instance.
 void setPath(java.lang.String path)
           
 
Methods inherited from class org.apache.struts.faces.taglib.AbstractFacesTag
setBundle, setStyleClass, setValue
 
Methods inherited from class javax.faces.webapp.FacesTag
doAfterBody, doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, findComponentStack, getChildIndex, getComponent, getCreated, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getModelReference, getNearestEnclosingFacesTag, getNumChildren, getRendered, incrementNumChildren, isSuppressed, setModelReference, setParent, setRendered, setupResponseWriter
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setValue
 
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.IterationTag
 

Field Detail

path

private java.lang.String path

The context-relative path for this link.

Constructor Detail

StylesheetTag

public StylesheetTag()
Method Detail

setPath

public void setPath(java.lang.String path)

createComponent

public javax.faces.component.UIComponent createComponent()

Create and return a new component to be associated with this tag.

Specified by:
createComponent in class AbstractFacesTag

getRendererType

public java.lang.String getRendererType()

Return the rendererType to be used for rendering our component.

Specified by:
getRendererType in class AbstractFacesTag

release

public void release()

Release resources allocated to this tag instance.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class AbstractFacesTag

overrideProperties

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

Override attributes set on this tag instance.

Overrides:
overrideProperties in class AbstractFacesTag
Parameters:
component - Component whose attributes should be overridden


Copyright ? 2003 - Apache Software Foundation