org.apache.myfaces.examples.inputsuggest
Class StateInfo

java.lang.Object
  extended byorg.apache.myfaces.examples.inputsuggest.StateInfo

public class StateInfo
extends java.lang.Object

This class is basically designed to simulate an application-specific bean that might exist in some application. The point here is to demonstrate how an application-specific bean such as this can be integrated into inputSuggest. The JSP page and the inputSuggest component know nothing about StateInfo or User. The UserHandler backing bean and the value binding expression in the JSP help bridge this gap.

Version:
$Revision: $ $Date: $
Author:
Sean Schofield

Constructor Summary
StateInfo(java.lang.String key, java.lang.String text)
           
 
Method Summary
 java.lang.String getKey()
           
 java.lang.String getText()
           
 void setKey(java.lang.String key)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateInfo

public StateInfo(java.lang.String key,
                 java.lang.String text)
Method Detail

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getText

public java.lang.String getText()

setText

public void setText(java.lang.String text)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.