public class XPathFilter2Sieve extends FilterIterator
FilterIterator implementing the
XPath Filter 2.0 behaviour as specified by the W3C
recommendation XML-Signature XPath Filter
2.0.
NOTE: The input Iterator MUST provide the
Nodes of the input node-set in document order (according
to XML Path Language
(XPath) Version 1.0, Section 5 ) with the following weakening: The order
of the namespace and attribute child nodes of an element may be arbitrary.
iterator_, nextObj_| Constructor and Description |
|---|
XPathFilter2Sieve(Iterator iterator,
List xpathList,
List ownerList,
DOMCryptoContext context)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
skip(Object obj)
Returns
true if the given obj ect should NOT be
returned by the FilterIterator.next()method, otherwise returns false
. |
hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic XPathFilter2Sieve(Iterator iterator, List xpathList, List ownerList, DOMCryptoContext context) throws XPathException
XPathFilter2Sieve with the given iterator
providing the input node-set the list of XPathTypes and the list of
their corresponding owner Nodes.iterator - the iterator providing the input node-setxpathList - the list of XPathTypesownerList - the list of <XPath> Elements
corresponding to the xpathListcontext - the contextXPathException - if evaluating an XPath expression failsprotected boolean skip(Object obj)
FilterIteratortrue if the given obj ect should NOT be
returned by the FilterIterator.next()method, otherwise returns false
.
Overwrite this method to implement specific filtering of Nodes.
skip in class FilterIteratorobj - the object to be testedtrue if the object should be skipped,
false otherwiseFilterIterator.skip(java.lang.Object)© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC