public interface AnalyzeContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the context attribute for the given name
|
Component |
getComponent()
Returns the primary component for this context.
|
ComponentContext |
getComponentContext()
Returns the primary component context that is bound to this context.
|
AnalyzeContext |
getParent()
Returns the parent analyze context or
null if this context
is the root context. |
AnalyzeContext |
getRoot()
Returns the root analyze context.
|
void |
includeEpilog(SlingHttpServletRequest req,
SlingHttpServletResponse resp,
WCMMode mode)
Includes the html epilog of this context into the response.
|
void |
includeProlog(SlingHttpServletRequest req,
SlingHttpServletResponse resp,
WCMMode mode)
Includes the html prolog needed for editing
|
boolean |
isRoot()
Checks if this is the root analyze context.
|
java.lang.Object |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a context attribute with the given name.
|
boolean isRoot()
true
if this is the root analyze contextAnalyzeContext getParent()
null
if this context
is the root context.null
AnalyzeContext getRoot()
ComponentContext getComponentContext()
Component getComponent()
java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attributenull
if not defined.java.lang.Object setAttribute(java.lang.String name, java.lang.Object value)
null
it is removed from the attribute map.name
- the name of the attributevalue
- the attribute valuenull
void includeProlog(SlingHttpServletRequest req, SlingHttpServletResponse resp, WCMMode mode) throws java.io.IOException, ServletException
req
- the requestresp
- the responsemode
- the wcm modejava.io.IOException
- if an I/O error occursServletException
- if a servlet error occursvoid includeEpilog(SlingHttpServletRequest req, SlingHttpServletResponse resp, WCMMode mode) throws java.io.IOException, ServletException
req
- the requestresp
- the responsemode
- the wcm modejava.io.IOException
- if an I/O error occursServletException
- if a servlet error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved