Class FlexibleServletAccessor.AttributeAccessor<T>
- java.lang.Object
-
- org.apache.ofbiz.base.util.collections.FlexibleServletAccessor.AttributeAccessor<T>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FlexibleServletAccessor<T>
protected static class FlexibleServletAccessor.AttributeAccessor<T> extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
attributeName
protected int
closeBrace
protected java.util.Map<java.lang.String,java.lang.Object>
expandContext
protected FlexibleMapAccessor<T>
fma
protected boolean
isAddAtEnd
protected boolean
isAddAtIndex
protected boolean
isListReference
protected int
listIndex
protected int
openBrace
-
Constructor Summary
Constructors Constructor Description AttributeAccessor(java.lang.String origName, java.util.Map<java.lang.String,java.lang.Object> expandContext, java.lang.String defAttributeName, FlexibleMapAccessor<T> defFma, boolean needsExpand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get(javax.servlet.http.HttpSession session)
T
get(javax.servlet.ServletRequest request)
void
put(javax.servlet.http.HttpSession session, T value)
void
put(javax.servlet.ServletRequest request, T value)
protected void
putInList(java.util.List<T> lst, T value)
T
remove(javax.servlet.http.HttpSession session)
T
remove(javax.servlet.ServletRequest request)
-
-
-
Field Detail
-
expandContext
protected java.util.Map<java.lang.String,java.lang.Object> expandContext
-
attributeName
protected java.lang.String attributeName
-
fma
protected FlexibleMapAccessor<T> fma
-
isListReference
protected boolean isListReference
-
isAddAtIndex
protected boolean isAddAtIndex
-
isAddAtEnd
protected boolean isAddAtEnd
-
listIndex
protected int listIndex
-
openBrace
protected int openBrace
-
closeBrace
protected int closeBrace
-
-
Constructor Detail
-
AttributeAccessor
public AttributeAccessor(java.lang.String origName, java.util.Map<java.lang.String,java.lang.Object> expandContext, java.lang.String defAttributeName, FlexibleMapAccessor<T> defFma, boolean needsExpand)
-
-
Method Detail
-
get
public T get(javax.servlet.ServletRequest request)
-
get
public T get(javax.servlet.http.HttpSession session)
-
put
public void put(javax.servlet.ServletRequest request, T value)
-
put
public void put(javax.servlet.http.HttpSession session, T value)
-
remove
public T remove(javax.servlet.ServletRequest request)
-
remove
public T remove(javax.servlet.http.HttpSession session)
-
-