Returns the value associated to the specified name.
First of all the local registry is searched calling
ItsNatVariableResolver.getLocalVariable(String) if returns null then the "owner" of this resolver is used:
If the variable resolver is a child of another variable resolver
(was created with
ItsNatVariableResolver.createItsNatVariableResolver() )
then the method
ItsNatVariableResolver.getVariable(String) of the parent is called to continue searching.
If the variable resolver was created with
org.itsnat.core.ItsNatServletContext.createItsNatVariableResolver then the method ServletContext.getAttribute(String) is called to continue searching.
If the variable resolver was created with
org.itsnat.core.ItsNatSession.createItsNatVariableResolver then the method
org.itsnat.core.ItsNatSession.getAttribute(String) is called to continue searching,
if returns null then delegates to the method ServletContext.getAttribute(String) .
If the variable resolver was created with
org.itsnat.core.ItsNatDocument.createItsNatVariableResolver then the method
org.itsnat.core.ItsNatDocument.getAttribute(String) is called to continue searching,
if returns null then delegates to the method
org.itsnat.core.ItsNatSession.getAttribute(String) ,
if returns null then delegates to the method ServletContext.getAttribute(String) .
Parameters: name - the name to search for. the value associated to the specified name or null if none is found. |