public class SymbolBean extends AbstractBean implements Serializable, Comparable
A symbol represents a variable replaced in a JSF binding expression. Within the expression symbols are identified by the '@' prefix.
Constructor and Description |
---|
SymbolBean() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj)
This implementation of the
Comparable interface makes
the name property the compared key. |
String |
getName()
Returns a name corresponding to an associated JSF object property.
|
String |
getValue()
Returns the value of the attribute that can be a literal or a
expression.
|
void |
setName(String name)
Sets the name of the attribute.
|
void |
setValue(String value)
Sets the value of the attribute.
|
String |
toString() |
getDescription, setDescription
public String getName()
Returns a name corresponding to an associated JSF object property.
public String getValue()
Returns the value of the attribute that can be a literal or a expression.
public void setName(String name)
Sets the name of the attribute.
name
- symbol namepublic void setValue(String value)
Sets the value of the attribute.
value
- symbol valuepublic int compareTo(Object obj)
This implementation of the Comparable
interface makes
the name
property the compared key.
compareTo
in interface Comparable
obj
- object to compareCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.