Creates an
XPathFilter2ParameterSpec
.
Parameters:
-
xPathList - a list of one or more {@link XPathType} objects. The
list is defensively copied to protect against subsequent modification.
Throws:
-
ClassCastException - if
xPathList
contains any
entries that are not of type {@link XPathType}
-
IllegalArgumentException - if
xPathList
is empty
-
NullPointerException - if
xPathList
is
null