|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.view.facelets.FaceletCompositionContext
org.apache.myfaces.view.facelets.impl.FaceletCompositionContextImpl
public class FaceletCompositionContextImpl
Field Summary |
---|
Fields inherited from class org.apache.myfaces.view.facelets.FaceletCompositionContext |
---|
FACELET_COMPOSITION_CONTEXT_KEY |
Constructor Summary | |
---|---|
FaceletCompositionContextImpl(FaceletFactory factory,
FacesContext facesContext)
|
Method Summary | |
---|---|
void |
addAttachedObjectHandler(UIComponent compositeComponentParent,
AttachedObjectHandler handler)
Add to the composite component parent this handler, so it will be processed later when ViewDeclarationLanguage.retargetAttachedObjects is called. |
java.util.List<AttachedObjectHandler> |
getAttachedObjectHandlers(UIComponent compositeComponentParent)
Retrieve the list of object handlers attached to a composite component parent. |
UIComponent |
getCompositeComponentFromStack()
Return the composite component being applied on the current facelet. |
java.util.Iterator<java.lang.String> |
getEnclosingValidatorIds()
Gets all validationIds on the stack. |
java.util.Iterator<java.lang.String> |
getExcludedValidatorIds()
Gets all validationIds on the stack. |
FaceletFactory |
getFaceletFactory()
|
java.lang.String |
getFirstValidationGroupFromStack()
Gets the top of the validationGroups stack. |
UniqueIdVendor |
getUniqueIdVendorFromStack()
Return the latest UniqueIdVendor created from stack. |
boolean |
isMarkInitialState()
Check if this build should be marked as initial state. |
boolean |
isMarkInitialStateAndIsRefreshTransientBuildOnPSS()
|
boolean |
isRefreshingTransientBuild()
Check if this build is being refreshed, adding transient components and adding/removing components under c:if or c:forEach or not. |
boolean |
isRefreshTransientBuildOnPSS()
Check if the current view will be refreshed with partial state saving. |
boolean |
isUsingPSSOnThisView()
Check if we are using partial state saving on this view |
void |
popCompositeComponentToStack()
|
void |
popEnclosingValidatorIdToStack()
Removes top of stack. |
void |
popExcludedValidatorIdToStack()
Removes top of stack. |
void |
popUniqueIdVendorToStack()
|
void |
popValidationGroupsToStack()
Removes top of stack. |
void |
pushCompositeComponentToStack(UIComponent parent)
|
void |
pushEnclosingValidatorIdToStack(java.lang.String validatorId)
Pushes validatorId to the stack of all enclosing validatorIds. |
void |
pushExcludedValidatorIdToStack(java.lang.String validatorId)
Pushes validatorId to the stack of excluded validatorIds. |
void |
pushUniqueIdVendorToStack(UniqueIdVendor parent)
|
void |
pushValidationGroupsToStack(java.lang.String validationGroups)
Pushes validationGroups to the stack. |
void |
release(FacesContext facesContext)
Releases the MyFaceletContext object. |
void |
removeAttachedObjectHandlers(UIComponent compositeComponentParent)
Remove from the composite component parent the list of attached handlers. |
Methods inherited from class org.apache.myfaces.view.facelets.FaceletCompositionContext |
---|
getCurrentInstance, getCurrentInstance, getCurrentInstance, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FaceletCompositionContextImpl(FaceletFactory factory, FacesContext facesContext)
Method Detail |
---|
public FaceletFactory getFaceletFactory()
getFaceletFactory
in class FaceletCompositionContext
public void release(FacesContext facesContext)
FaceletCompositionContext
release
in class FaceletCompositionContext
public UIComponent getCompositeComponentFromStack()
FaceletCompositionContext
getCompositeComponentFromStack
in class FaceletCompositionContext
public void pushCompositeComponentToStack(UIComponent parent)
pushCompositeComponentToStack
in class FaceletCompositionContext
public void popCompositeComponentToStack()
popCompositeComponentToStack
in class FaceletCompositionContext
public UniqueIdVendor getUniqueIdVendorFromStack()
FaceletCompositionContext
getUniqueIdVendorFromStack
in class FaceletCompositionContext
public void popUniqueIdVendorToStack()
popUniqueIdVendorToStack
in class FaceletCompositionContext
public void pushUniqueIdVendorToStack(UniqueIdVendor parent)
pushUniqueIdVendorToStack
in class FaceletCompositionContext
public java.lang.String getFirstValidationGroupFromStack()
getFirstValidationGroupFromStack
in class FaceletCompositionContext
public void popValidationGroupsToStack()
popValidationGroupsToStack
in class FaceletCompositionContext
public void pushValidationGroupsToStack(java.lang.String validationGroups)
pushValidationGroupsToStack
in class FaceletCompositionContext
validationGroups
- public java.util.Iterator<java.lang.String> getExcludedValidatorIds()
getExcludedValidatorIds
in class FaceletCompositionContext
public void popExcludedValidatorIdToStack()
popExcludedValidatorIdToStack
in class FaceletCompositionContext
public void pushExcludedValidatorIdToStack(java.lang.String validatorId)
pushExcludedValidatorIdToStack
in class FaceletCompositionContext
validatorId
- public java.util.Iterator<java.lang.String> getEnclosingValidatorIds()
getEnclosingValidatorIds
in class FaceletCompositionContext
public void popEnclosingValidatorIdToStack()
popEnclosingValidatorIdToStack
in class FaceletCompositionContext
public void pushEnclosingValidatorIdToStack(java.lang.String validatorId)
pushEnclosingValidatorIdToStack
in class FaceletCompositionContext
validatorId
- public boolean isRefreshingTransientBuild()
FaceletCompositionContext
isRefreshingTransientBuild
in class FaceletCompositionContext
public boolean isMarkInitialState()
FaceletCompositionContext
isMarkInitialState
in class FaceletCompositionContext
public boolean isRefreshTransientBuildOnPSS()
FaceletCompositionContext
isRefreshTransientBuildOnPSS
in class FaceletCompositionContext
public boolean isUsingPSSOnThisView()
FaceletCompositionContext
isUsingPSSOnThisView
in class FaceletCompositionContext
public boolean isMarkInitialStateAndIsRefreshTransientBuildOnPSS()
isMarkInitialStateAndIsRefreshTransientBuildOnPSS
in class FaceletCompositionContext
public void addAttachedObjectHandler(UIComponent compositeComponentParent, AttachedObjectHandler handler)
FaceletCompositionContext
addAttachedObjectHandler
in class FaceletCompositionContext
public void removeAttachedObjectHandlers(UIComponent compositeComponentParent)
FaceletCompositionContext
removeAttachedObjectHandlers
in class FaceletCompositionContext
public java.util.List<AttachedObjectHandler> getAttachedObjectHandlers(UIComponent compositeComponentParent)
FaceletCompositionContext
getAttachedObjectHandlers
in class FaceletCompositionContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |