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

Quick Search    Search Deep

com.sun.facelets.compiler
Class UITextHandler  view UITextHandler download UITextHandler.java

java.lang.Object
  extended bycom.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 $

Field Summary
private  java.lang.String alias
           
private  int length
           
private  com.sun.facelets.el.ELText txt
           
 
Constructor Summary
UITextHandler(java.lang.String alias, com.sun.facelets.el.ELText txt)
           
 
Method Summary
 void apply(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
          Process changes on a particular UIComponent
 java.lang.String getText()
          Return the literal String value of the contained text
 java.lang.String getText(com.sun.facelets.FaceletContext ctx)
          Evaluate the literal String value against EL of the contained text
 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
 

Field Detail

txt

private final com.sun.facelets.el.ELText txt

alias

private final java.lang.String alias

length

private final int length
Constructor Detail

UITextHandler

public UITextHandler(java.lang.String alias,
                     com.sun.facelets.el.ELText txt)
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

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