Holds the layout fragments encountered across layout and content templates for later use.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static FragmentMap |
get(IContext context)Retrieves either the fragment map for the current context, or returns a new fragment map. |
|
static void |
setForNode(IContext context, IElementModelStructureHandler structureHandler, Map<String, List<IModel>> fragments)Set the fragment collection to contain whatever it initially had, plus the given fragments, just for the scope of the current node. |
| Methods inherited from class | Name |
|---|---|
class HashMap |
remove, remove, get, put, values, clone, clear, isEmpty, replace, replace, replaceAll, size, merge, entrySet, putAll, putIfAbsent, compute, forEach, containsKey, computeIfAbsent, containsValue, keySet, getOrDefault, computeIfPresent, equals, toString, hashCode, wait, wait, wait, getClass, notify, notifyAll |
class AbstractMap |
remove, get, put, equals, toString, values, hashCode, clear, isEmpty, size, entrySet, putAll, containsKey, containsValue, keySet, wait, wait, wait, getClass, notify, notifyAll, remove, replace, replace, replaceAll, merge, putIfAbsent, compute, forEach, computeIfAbsent, getOrDefault, computeIfPresent |
Retrieves either the fragment map for the current context, or returns a new fragment map.
Set the fragment collection to contain whatever it initially had, plus the given fragments, just for the scope of the current node.
fragments - The new fragments to add to the map.