Previous section   Next section
URIValidator javax.xml.registry.infomodel

JAXR 1.0; JWSDP 1.0, J2EE 1.4
public interface URIValidator {
// Public Instance Methods
    public abstract boolean getValidateURI(  )
       throws javax.xml.registry.JAXRException;             //L0
    boolean (validate) throws javax.xml.registry.JAXRException; 
}

URIValidator is an interface implemented by objects that contain a URI and provide the ability to check that the URI is valid. In the JAXR registry model, both ExternalLink and ServiceBinding implement this interface and, as a result, may attempt to check the validity of URIs that they contain when their state is written to the registry. In some cases, this is not convenient, perhaps because the referred content is not available at the time that the registry is updated. The setValidateURI( ) method can be used to enable or disable verification of the URI associated with an object that implements this interface. To determine whether checking is enabled, use getValidateURI( ).

Implementations

ExternalLink, ServiceBinding


  Previous section   Next section