java.lang.Object
com.sun.facelets.compiler.UITextHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler, com.sun.facelets.tag.TextHandler
- final class UITextHandler
- extends java.lang.Object
- implements com.sun.facelets.FaceletHandler, com.sun.facelets.tag.TextHandler
- Version:
- $Id: UITextHandler.java,v 1.8 2006/03/29 04:10:05 jhook Exp $
txt
private final com.sun.facelets.el.ELText txt
alias
private final java.lang.String alias
length
private final int length
UITextHandler
public UITextHandler(java.lang.String alias,
com.sun.facelets.el.ELText txt)
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
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()).
getText
public java.lang.String getText()
- Description copied from interface:
com.sun.facelets.tag.TextHandler
- Return the literal String value of the contained text
- Specified by:
getText in interface com.sun.facelets.tag.TextHandler
getText
public java.lang.String getText(com.sun.facelets.FaceletContext ctx)
- Description copied from interface:
com.sun.facelets.tag.TextHandler
- Evaluate the literal String value against EL of the contained text
- Specified by:
getText in interface com.sun.facelets.tag.TextHandler