Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.tag.ui
Class DecorateHandler  view DecorateHandler download DecorateHandler.java

java.lang.Object
  extended bycom.sun.facelets.tag.TagHandler
      extended bycom.sun.facelets.tag.ui.DecorateHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler, com.sun.facelets.TemplateClient

public final class DecorateHandler
extends com.sun.facelets.tag.TagHandler
implements com.sun.facelets.TemplateClient

Version:
$Id: DecorateHandler.java,v 1.11 2006/03/29 04:10:08 jhook Exp $

Field Summary
private  java.util.Map handlers
           
private  java.util.logging.Logger log
           
private  ParamHandler[] params
           
private  com.sun.facelets.tag.TagAttribute template
           
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
DecorateHandler(com.sun.facelets.tag.TagConfig config)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
          Process changes on a particular UIComponent
 boolean apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String name)
          This contract is much like the normal FaceletHandler.apply method, but it takes in an optional String name which tells this instance what fragment/definition it's looking for.
 
Methods inherited from class com.sun.facelets.tag.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private final java.util.logging.Logger log

template

private final com.sun.facelets.tag.TagAttribute template

handlers

private final java.util.Map handlers

params

private final ParamHandler[] params
Constructor Detail

DecorateHandler

public DecorateHandler(com.sun.facelets.tag.TagConfig config)
Method Detail

apply

public void apply(com.sun.facelets.FaceletContext ctx,
                  javax.faces.component.UIComponent parent)
           throws java.io.IOException,
                  javax.faces.FacesException,
                  com.sun.facelets.FaceletException,
                  ELException
Description copied from interface: com.sun.facelets.FaceletHandler
Process changes on a particular UIComponent

Specified by:
apply in interface com.sun.facelets.FaceletHandler

apply

public boolean apply(com.sun.facelets.FaceletContext ctx,
                     javax.faces.component.UIComponent parent,
                     java.lang.String name)
              throws java.io.IOException,
                     javax.faces.FacesException,
                     com.sun.facelets.FaceletException,
                     ELException
Description copied from interface: com.sun.facelets.TemplateClient
This contract is much like the normal FaceletHandler.apply method, but it takes in an optional String name which tells this instance what fragment/definition it's looking for. If you are a match, apply your logic to the passed UIComponent and return true, otherwise do nothing and return false.

Specified by:
apply in interface com.sun.facelets.TemplateClient