public class ProtocolRestricter
extends java.lang.Object
implements java.util.function.Predicate<java.net.URI>
XMLConstants.ACCESS_EXTERNAL_SCHEMA,
which constrain the set of URIs that can be used by supplying a list of permitted protocols.| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Predicate<java.net.URI> |
make(java.lang.String value) |
boolean |
test(java.net.URI uri)
Evaluates this predicate on the given argument.
|
java.lang.String |
toString() |
public static java.util.function.Predicate<java.net.URI> make(java.lang.String value)
public boolean test(java.net.URI uri)
test in interface java.util.function.Predicate<java.net.URI>uri - the input argumenttrue if the input argument matches the predicate,
otherwise falsepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2020 Saxonica Limited.