Package org.hippoecm.hst.core.container
Class ComponentProcessingContext
- java.lang.Object
-
- org.hippoecm.hst.core.container.ComponentProcessingContext
-
public class ComponentProcessingContext extends Object
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
Fields Modifier and Type Field Description static String
CONTEXT_ATTR_NAME
-
Constructor Summary
Constructors Constructor Description ComponentProcessingContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOfflineDocument(HstComponent component, HippoDocumentBean bean)
void
clearCurrent()
static ComponentProcessingContext
get(HstRequestContext requestContext)
Get an instance from an HstRequestContextHstComponent
getCurrent()
List<HippoDocumentBean>
getOfflineDocuments(HstComponent component)
static void
set(HstRequestContext requestContext)
Set a new instance to an HstRequestContextvoid
setCurrent(HstComponent component)
-
-
-
Field Detail
-
CONTEXT_ATTR_NAME
public static final String CONTEXT_ATTR_NAME
-
-
Method Detail
-
set
public static void set(HstRequestContext requestContext)
Set a new instance to an HstRequestContext
-
get
public static ComponentProcessingContext get(HstRequestContext requestContext)
Get an instance from an HstRequestContext
-
setCurrent
public void setCurrent(HstComponent component)
-
clearCurrent
public void clearCurrent()
-
getCurrent
public HstComponent getCurrent()
-
addOfflineDocument
public void addOfflineDocument(HstComponent component, HippoDocumentBean bean)
-
getOfflineDocuments
public List<HippoDocumentBean> getOfflineDocuments(HstComponent component)
-
-