java.lang.Object
com.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 $
tagId
protected final java.lang.String tagId
tag
protected final Tag tag
nextHandler
protected final com.sun.facelets.FaceletHandler nextHandler
TagHandler
public TagHandler(TagConfig config)
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()).