Name
URIValidator
Synopsis
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
Get Java Web Services in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.