Class XMLElementFinder
java.lang.Object
com.predic8.membrane.core.interceptor.xmlcontentfilter.XMLElementFinder
Checks whether an InputStream is XML and contains any of a set of element names.
The element names can have a namespace (in which case it also has to match) or not
(if the namespace of an element passed to the constructor is the default namespace,
it is treated as "wildcard namespace").
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLElementFinder
-
-
Method Details
-
matches
- Returns:
- true, if the input is well-formed XML and any of the elements were found
-