|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.imsystems.atag.servlet.ATagContext
public class ATagContext
This class provides definition tags with information about
the refering reference.
An ATagContext
instance is initially created and populated
by ATagFiler
using values from the request,
and consequently by reference tags prior to including the content of
thier target.
Each reference tag creates and populate an instance of ATagContext
using attribute values entered on the tag itself, and pushes it on
the request before 'including' its target, making its context available
to the underlying component or panel.
Method Summary | |
---|---|
String |
getBindPath()
Returns the bind attribute assigned to the reference that this context represents. |
String |
getFullViewUrl()
Returns the view url resolved using the viewPrefix and viewSuffix configuration parameters. |
ATagContext |
getInitialContext()
Returns the first context created during the scope of this request. |
String |
getParamName()
Returns the paramName attribute assigned to the reference that this context represents. |
Properties |
getParams()
Returns a Properties instance populated with custom params added to the reference that this context represents. |
String |
getRefId()
Returns the full id of the reference that this context represents. |
String |
getType()
Returns the type of component the associated reference is refering to. |
String |
getViewPrefix()
Returns the viewPrefix configuration parameter |
String |
getViewSuffix()
Returns the viewSuffix configuration parameter |
String |
getViewUrl()
Returns the viewUrl attribute assigned to the reference that this context represents. |
boolean |
isInitial()
Returns true if this context is the first context created during the scope of this request. |
boolean |
isRender()
Returns the render attribute assigned to the reference that this context represents. |
static ATagContext |
newInstance(ATagContext current)
Creates an instance of ATagContext given the current context. |
void |
putAllParams(Map params)
Populates the custom params using values in the Map. |
void |
setBindPath(String bindPath)
Sets the bind value. |
void |
setInitialContext(ATagContext initialContext)
Sets theinitial context value |
void |
setParamName(String paramName)
Sets the param name value. |
void |
setRefId(String refId)
Set the full id value |
void |
setRender(boolean render)
Sets the render value |
void |
setType(String type)
Sets the type value |
void |
setViewPrefix(String viewPrefix)
Sets the viewPrefix configuration parameter. |
void |
setViewSuffix(String viewSuffix)
Sets the viewSuffix configuration parameter. |
void |
setViewUrl(String viewUrl)
Sets the viewUrl attribute. |
String |
toString()
Debug info |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getBindPath()
public void setBindPath(String bindPath)
bindPath
- The bind valuepublic String getParamName()
public void setParamName(String paramName)
paramName
- The paramName valuepublic Properties getParams()
public String getRefId()
public void setRefId(String refId)
refId
- The full id to setpublic boolean isRender()
public void setRender(boolean render)
render
- The value to setpublic String getViewUrl()
public String getFullViewUrl()
public void setViewUrl(String viewUrl)
viewUrl
- The value to setpublic void putAllParams(Map params)
params
- Values to use.public String getType()
public void setType(String type)
type
- Value to set.public void setViewPrefix(String viewPrefix)
viewPrefix
- The value to setpublic void setViewSuffix(String viewSuffix)
viewSuffix
- The value to setpublic String getViewPrefix()
public String getViewSuffix()
public boolean isInitial()
public ATagContext getInitialContext()
public void setInitialContext(ATagContext initialContext)
initialContext
- The value to setpublic static ATagContext newInstance(ATagContext current)
current
- The current ATagContext
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |