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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.sun.facelets.tag.TagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler
Direct Known Subclasses:
MetaTagHandler, UserTagHandler

public abstract class TagHandler
extends java.lang.Object
implements com.sun.facelets.FaceletHandler

Foundation class for FaceletHandlers associated with markup in a Facelet document.

Version:
$Id: TagHandler.java,v 1.5 2005/09/02 19:25:57 jhook Exp $

Field Summary
protected  com.sun.facelets.FaceletHandler nextHandler
           
protected  Tag tag
           
protected  java.lang.String tagId
           
 
Constructor Summary
TagHandler(TagConfig config)
           
 
Method Summary
protected  java.util.Iterator findNextByType(java.lang.Class type)
          Searches child handlers, starting at the 'nextHandler' for all instances of the passed type.
protected  TagAttribute getAttribute(java.lang.String localName)
          Utility method for fetching the appropriate TagAttribute
protected  TagAttribute getRequiredAttribute(java.lang.String localName)
          Utility method for fetching a required TagAttribute
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
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

tagId

protected final java.lang.String tagId

tag

protected final Tag tag

nextHandler

protected final com.sun.facelets.FaceletHandler nextHandler
Constructor Detail

TagHandler

public TagHandler(TagConfig config)
Method Detail

getAttribute

protected final TagAttribute getAttribute(java.lang.String localName)
Utility method for fetching the appropriate TagAttribute


getRequiredAttribute

protected final TagAttribute getRequiredAttribute(java.lang.String localName)
                                           throws TagException
Utility method for fetching a required TagAttribute


findNextByType

protected final java.util.Iterator findNextByType(java.lang.Class type)
Searches child handlers, starting at the 'nextHandler' for all instances of the passed type. This process will stop searching a branch if an instance is found.


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).