Package org.hippoecm.hst.core.container
Class ComponentProcessingContext
java.lang.Object
org.hippoecm.hst.core.container.ComponentProcessingContext
Context for during processing of a HST component tree, where in the doBeforeRender of each component the current is
set. This object keeps a map of offline documents per component.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOfflineDocument
(HstComponent component, HippoDocumentBean bean) void
static ComponentProcessingContext
get
(HstRequestContext requestContext) Get an instance from an HstRequestContextgetOfflineDocuments
(HstComponent component) static void
set
(HstRequestContext requestContext) Set a new instance to an HstRequestContextvoid
setCurrent
(HstComponent component)
-
Field Details
-
CONTEXT_ATTR_NAME
-
-
Constructor Details
-
ComponentProcessingContext
public ComponentProcessingContext()
-
-
Method Details
-
set
Set a new instance to an HstRequestContext -
get
Get an instance from an HstRequestContext -
setCurrent
-
clearCurrent
public void clearCurrent() -
getCurrent
-
addOfflineDocument
-
getOfflineDocuments
-