User

   
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


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net