-
Notifications
You must be signed in to change notification settings - Fork 16
/
ShadowRootMap.java
26 lines (22 loc) · 921 Bytes
/
ShadowRootMap.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.nordstrom.automation.selenium.model;
import org.openqa.selenium.By;
/**
* This class defines a map for <b>Selenium Foundation</b> shadow root objects.
* <p>
* <b>NOTE</b>: This class implements a read-only map; all methods that would alter the composition of the collection
* (e.g. - {@link #put(Object, Object)}) result in {@link UnsupportedOperationException}.
*
* @param <V> the class of shadow root objects collected by this map
*/
public class ShadowRootMap<V extends ShadowRoot> extends ContainerMap<V> {
/**
* Constructor for shadow root map with parent, type, and locator
*
* @param parent parent container
* @param containerType container type
* @param locator container context element locator
*/
ShadowRootMap(final ComponentContainer parent, final Class<V> containerType, final By locator) {
super(parent, containerType, locator);
}
}