Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`boolean` | `getValidateURI()` Gets whether to do URI validation for this object.
`void` | `setValidateURI(boolean validate)` Sets whether to do URI validation for this object.

Method Detail

### setValidateURI

    public void setValidateURI(boolean validate)
                        throws JAXRException

  Sets whether to do URI validation for this object. Default is true.

  Capability Level: 0

  Parameters:
    `validate` - `true` implies JAXR provider must perform validation of URIs when they are set; `false` implies validation is turned off
  Throws:
    `JAXRException` - If the JAXR provider encounters an internal error

### getValidateURI

    public boolean getValidateURI()
                           throws JAXRException

  Gets whether to do URI validation for this object.

  Capability Level: 0

  Returns:
    `true` implies JAXR provider must perform validation of URIs when they are set; `false` implies validation is turned off
  Throws:
    `JAXRException` - If the JAXR provider encounters an internal error

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.