Package net.sf.saxon.lib
Class StandardURIChecker
java.lang.Object
net.sf.saxon.lib.StandardURIChecker
- All Implemented Interfaces:
Serializable
,URIChecker
This class checks whether a string is a valid URI. Different checking rules can be chosen by including
a different URIChecker in the
ConversionRules
used when the value is checked.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Protected constructor to allow subclassing -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardURIChecker
boolean
isValidURI
(CharSequence value) Validate a string to determine whether it is a valid URIstatic void
-
Constructor Details
-
StandardURIChecker
protected StandardURIChecker()Protected constructor to allow subclassing
-
-
Method Details
-
getInstance
-
isValidURI
Validate a string to determine whether it is a valid URI- Specified by:
isValidURI
in interfaceURIChecker
- Parameters:
value
- the string to be checked- Returns:
- true if the string is considered to be a valid URI
-
main
-