Package javax.xml.registry.infomodel
Interface URIValidator
- All Known Subinterfaces:
ExternalLink,ServiceBinding
public interface URIValidator
Defines common behavior expected of any class that validates URIs.
- Author:
- Farrukh S. Najmi
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether to do URI validation for this object.voidsetValidateURI(boolean validate) Sets whether to do URI validation for this object.
-
Method Details
-
setValidateURI
Sets whether to do URI validation for this object. Default is true.- Capability Level: 0
- Parameters:
validate-trueimplies Jakarta XML Registries provider must perform validation of URIs when they are set;falseimplies validation is turned off- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getValidateURI
Gets whether to do URI validation for this object.- Capability Level: 0
- Returns:
trueimplies Jakarta XML Registries provider must perform validation of URIs when they are set;falseimplies validation is turned off- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-