public interface URIChecker
A user-supplied implementation of this class can be set in a customized instance of
ConversionRules
, which can be set in the configuration using
Configuration.setConversionRules(ConversionRules)
A user-supplied implementation can be written either from scratch, or by reference to the
system-supplied implementation StandardURIChecker
.
Modifier and Type | Method and Description |
---|---|
boolean |
isValidURI(CharSequence value)
Check whether a given string is considered valid according to the rules of the xs:anyURI type.
|
boolean isValidURI(CharSequence value)
This method is called during schema validation, and when casting string to xs:anyURI. It is not used when the xs:anyURI type is used as a return value from methods such as namespace-uri() or namespace-uri-from-QName() - in such cases no checking is applied to the name.
value
- the string to be checkedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.