Holds the layout fragments encountered across layout and content templates for later use.
| 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, 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, entrySet, putAll, putIfAbsent, keySet, containsValue, containsKey, getOrDefault, forEach, computeIfAbsent, computeIfPresent, compute, merge, equals, toString, hashCode, wait, wait, wait, getClass, notify, notifyAll |
class AbstractMap |
remove, get, put, equals, toString, values, hashCode, clear, isEmpty, size, entrySet, putAll, keySet, containsValue, containsKey, wait, wait, wait, getClass, notify, notifyAll, remove, replace, replace, replaceAll, putIfAbsent, getOrDefault, forEach, computeIfAbsent, computeIfPresent, compute, merge |
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.