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

Quick Search    Search Deep

com.sun.facelets.tag
Class MetaTagHandler  view MetaTagHandler download MetaTagHandler.java

java.lang.Object
  extended bycom.sun.facelets.tag.TagHandler
      extended bycom.sun.facelets.tag.MetaTagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public abstract class MetaTagHandler
extends TagHandler

A base tag for wiring state to an object instance based on rules populated at the time of creating a MetaRuleset.

Version:
$Id: MetaTagHandler.java,v 1.2 2005/08/24 04:38:47 jhook Exp $

Field Summary
private  java.lang.Class lastType
           
private  Metadata mapper
           
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
MetaTagHandler(TagConfig config)
           
 
Method Summary
protected  MetaRuleset createMetaRuleset(java.lang.Class type)
          Extend this method in order to add your own rules.
protected  void setAttributes(com.sun.facelets.FaceletContext ctx, java.lang.Object instance)
          Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
 
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
 
Methods inherited from interface com.sun.facelets.FaceletHandler
apply
 

Field Detail

lastType

private java.lang.Class lastType

mapper

private Metadata mapper
Constructor Detail

MetaTagHandler

public MetaTagHandler(TagConfig config)
Method Detail

createMetaRuleset

protected MetaRuleset createMetaRuleset(java.lang.Class type)
Extend this method in order to add your own rules.


setAttributes

protected void setAttributes(com.sun.facelets.FaceletContext ctx,
                             java.lang.Object instance)
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.