public final class XPathFilter2ParameterSpec extends java.lang.Object implements TransformParameterSpec
XPathType
objects.Transform
,
XPathFilterParameterSpec
Constructor and Description |
---|
XPathFilter2ParameterSpec(java.util.List xPathList)
Creates an
XPathFilter2ParameterSpec . |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getXPathList()
Returns a list of one or more
XPathType objects. |
public XPathFilter2ParameterSpec(java.util.List xPathList)
XPathFilter2ParameterSpec
.xPathList
- a list of one or more XPathType
objects. The
list is defensively copied to protect against subsequent modification.java.lang.ClassCastException
- if xPathList
contains any
entries that are not of type XPathType
java.lang.IllegalArgumentException
- if xPathList
is emptyjava.lang.NullPointerException
- if xPathList
is
null
public java.util.List getXPathList()
XPathType
objects.
This implementation returns an unmodifiable list
.
List
of XPathType
objects
(never null
or empty)