org.apache.cocoon.faces.taglib
Class ViewTag

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.taglib.TagSupport
          extended by org.apache.cocoon.taglib.XMLProducerTagSupport
              extended by org.apache.cocoon.faces.taglib.UIComponentTag
                  extended by org.apache.cocoon.faces.taglib.ViewTag
All Implemented Interfaces:
Poolable, Recyclable, Component, LogEnabled, Tag, XMLProducerTag, XMLProducer

public class ViewTag
extends UIComponentTag

Version:
CVS $Id: ViewTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  String locale
           
 
Fields inherited from class org.apache.cocoon.taglib.XMLProducerTagSupport
xmlConsumer
 
Fields inherited from class org.apache.cocoon.taglib.TagSupport
objectModel, parameters, parent, resolver
 
Fields inherited from interface org.apache.cocoon.taglib.Tag
EVAL_BODY, EVAL_PAGE, ROLE, SKIP_BODY
 
Constructor Summary
ViewTag()
           
 
Method Summary
 int doEndTag(String namespaceURI, String localName, String qName)
          Process the end tag for this instance.
 int doStartTag(String namespaceURI, String localName, String qName, Attributes atts)
          Process the start tag for this instance.
 String getComponentType()
           
 String getRendererType()
           
 void recycle()
           
 void setLocale(String locale)
           
protected  void setProperties(javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.apache.cocoon.faces.taglib.UIComponentTag
createValueBinding, encodeBegin, encodeChildren, encodeEnd, evaluate, evaluateBoolean, evaluateDouble, evaluateInteger, evaluateLong, getApplication, getBinding, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getId, getRendered, setBinding, setBooleanProperty, setId, setIntegerProperty, setProperty, setRendered, setup
 
Methods inherited from class org.apache.cocoon.taglib.XMLProducerTagSupport
setConsumer
 
Methods inherited from class org.apache.cocoon.taglib.TagSupport
findAncestorWithClass, findAttribute, getParent, setParent
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.taglib.Tag
getParent, setParent
 

Field Detail

locale

protected String locale
Constructor Detail

ViewTag

public ViewTag()
Method Detail

setLocale

public void setLocale(String locale)

doStartTag

public int doStartTag(String namespaceURI,
                      String localName,
                      String qName,
                      Attributes atts)
               throws SAXException
Description copied from class: TagSupport
Process the start tag for this instance.

The doStartTag method assumes that pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class UIComponentTag
Returns:
EVAL_BODY or SKIP_BODY.
Throws:
SAXException

doEndTag

public int doEndTag(String namespaceURI,
                    String localName,
                    String qName)
             throws SAXException
Description copied from class: TagSupport
Process the end tag for this instance.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class UIComponentTag
Returns:
EVAL_PAGE.
Throws:
SAXException

getComponentType

public String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

public String getRendererType()
Specified by:
getRendererType in class UIComponentTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class UIComponentTag

recycle

public void recycle()
Specified by:
recycle in interface Recyclable
Overrides:
recycle in class UIComponentTag


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.