Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expandContext

        protected java.util.Map<java.lang.String,​java.lang.Object> expandContext
      • attributeName

        protected java.lang.String attributeName
      • 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)
      • putInList

        protected void putInList​(java.util.List<T> lst,
                                 T value)
      • 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)