public class ValidatedElements extends TransformIterable<Element,Element>
ValidatedElements extends TransformIterable and uses an
ElementValidator to validate the Elements.
It does not transform the element items - just simply returns them if they are valid.
So the resultant Iterable will only contain Elements that have passed
the Schema Predicates or
View Predicates.
| Constructor and Description |
|---|
ValidatedElements(Iterable<? extends Element> elements,
Schema schema,
boolean skipInvalid)
|
ValidatedElements(Iterable<? extends Element> elements,
View view,
boolean skipInvalid)
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
iteratorequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ValidatedElements(Iterable<? extends Element> elements, Schema schema, boolean skipInvalid)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface CloseableIterable<Element>close in class TransformIterable<Element,Element>Copyright © 2022. All rights reserved.