com.sun.faces.facelets.tag.composite
abstract class RelocateListener extends java.lang.Object implements javax.faces.event.ComponentSystemEventListener, javax.faces.component.StateHolder
Constructor and Description |
---|
RelocateListener() |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.application.Resource |
getBackingResource(javax.faces.component.UIComponent component) |
boolean |
isTransient() |
protected boolean |
resourcesMatch(javax.faces.application.Resource compositeResource,
javax.faces.view.Location handlerLocation) |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setTransient(boolean newTransientValue) |
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, java.lang.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
protected javax.faces.application.Resource getBackingResource(javax.faces.component.UIComponent component)
Resource
instance that was used to create
the argument composite component.protected boolean resourcesMatch(javax.faces.application.Resource compositeResource, javax.faces.view.Location handlerLocation)
true
if the argument handler is from the same
template source as the argument Resource
otherwise
false
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.