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

Quick Search    Search Deep

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

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

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

Version:
$Id: InsertHandler.java,v 1.6 2006/04/03 06:25:36 jhook Exp $

Field Summary
private  java.lang.String name
           
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
InsertHandler(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

name

private final java.lang.String name
Constructor Detail

InsertHandler

public InsertHandler(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