Package javax.xml.registry.infomodel
Interface URIValidator
-
- All Known Subinterfaces:
ExternalLink,ServiceBinding
- All Known Implementing Classes:
ExternalLinkImpl,ServiceBindingImpl,URIValidatorImpl
public interface URIValidatorDefines common behavior expected of any class that validates URIs.- Author:
- Farrukh S. Najmi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetValidateURI()Gets whether to do URI validation for this object.voidsetValidateURI(boolean validate)Sets whether to do URI validation for this object.
-
-
-
Method Detail
-
setValidateURI
void setValidateURI(boolean validate) throws JAXRExceptionSets whether to do URI validation for this object. Default is true.- Capability Level: 0
- Parameters:
validate-trueimplies JAXR provider must perform validation of URIs when they are set;falseimplies validation is turned off- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getValidateURI
boolean getValidateURI() throws JAXRExceptionGets whether to do URI validation for this object.- Capability Level: 0
- Returns:
trueimplies JAXR provider must perform validation of URIs when they are set;falseimplies validation is turned off- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-