public class Target extends Object implements javax.faces.component.StateHolder
Modifier and Type | Class and Description |
---|---|
static class |
Target.Keyword
Defines list of keywords supported on a target in its execute and render lists
|
Modifier and Type | Field and Description |
---|---|
static String |
TARGET_LIST_PROPERTY |
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true, if the object instance variables - eventNames, renderIds and executeIds, equals the those for this instance.
|
org.apache.myfaces.trinidad.bean.FacesBean |
getBean() |
Set<String> |
getEvents()
Returns the Set<String> of scoped ids of components that will be executed.
|
Set<String> |
getExecuteIds()
Returns the Set of execute ids or an empty Collection.
|
Set<String> |
getRenderIds()
Returns the Set of render ids or an empty Collection.
|
int |
hashCode() |
boolean |
isEventAll()
Returns true if either the keyword '@all' is set or if no event names are specified.
|
boolean |
isTransient() |
void |
restoreState(javax.faces.context.FacesContext context, Object state) |
Object |
saveState(javax.faces.context.FacesContext context)
StateHolder Implementation
|
void |
setEvents(Set<String> events)
Sets the event names.
|
void |
setEvents(javax.el.ValueExpression events)
Sets the event names as provided by the ValueExpression events.
|
void |
setExecute(javax.el.ValueExpression execute)
Stores the execute ValueExpression or if literal turns into a Set of Strings and stores that in the property.
|
void |
setExecuteIds(Set<String> executeIds)
Stores the Set of executeIds on the bean property.
|
void |
setRender(javax.el.ValueExpression render)
Stores the ValueExpression into the bean property.
|
void |
setRenderIds(Set<String> renderIds)
Stores the Set of renderIds on the bean property.
|
void |
setTransient(boolean newTransientValue) |
String |
toString() |
public static final String TARGET_LIST_PROPERTY
public Set<String> getEvents()
public void setEvents(Set<String> events)
events
- Set of String event names.public void setEvents(javax.el.ValueExpression events)
events
- ValueExpression that resolves the event names.public Set<String> getExecuteIds()
public void setExecuteIds(Set<String> executeIds)
executeIds
-public void setExecute(javax.el.ValueExpression execute)
execute
-public Set<String> getRenderIds()
public void setRenderIds(Set<String> renderIds)
renderIds
-public void setRender(javax.el.ValueExpression render)
render
-public boolean isEventAll()
TRUE
if the set of events contains @all
public boolean equals(Object obj)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
public org.apache.myfaces.trinidad.bean.FacesBean getBean()