Class AttributeMap


  • public class AttributeMap
    extends Object
    A map with attributes assigned to a cms object for further processing (for example by variable processors).
    Author:
    lrosenberg
    • Field Detail

      • BOX_ATTRIBUTES_CALL_CONTEXT_SCOPE_NAME

        public static final String BOX_ATTRIBUTES_CALL_CONTEXT_SCOPE_NAME
        The name under which the box attribute map is stored in the call context to allow access by the variable processors.
      • PAGE_ATTRIBUTES_CALL_CONTEXT_SCOPE_NAME

        public static final String PAGE_ATTRIBUTES_CALL_CONTEXT_SCOPE_NAME
        The name under which the page attribute map is stored in the call context to allow access by the variable processors.
    • Constructor Detail

      • AttributeMap

        public AttributeMap()
        Creates a new attribute map.
    • Method Detail

      • getAttribute

        public AttributeBean getAttribute​(String key)
        Returns the attribute under given name.
        Parameters:
        key - TODO dummy comment for javadoc.
        Returns:
        TODO dummy comment for javadoc.
      • setAttribute

        public void setAttribute​(AttributeBean b,
                                 boolean override)
        Sets the attribute. If override is true an old value will be overriden.
        Parameters:
        b - TODO dummy comment for javadoc.
        override - TODO dummy comment for javadoc.
      • setAttribute

        public void setAttribute​(AttributeBean b)
        Sets the attribute. Note, attributes aren't overriden once set.
        Parameters:
        b - TODO dummy comment for javadoc.