URIValidator (Java EE 5)

From Java EE API


javax.xml.registry.infomodel Interface URIValidator

All Known Subinterfaces:
ExternalLink, ServiceBinding

public interface URIValidator

Implemented by: ExternalLink, ServiceBinding

定义验证 URI 的任何类应有的共同行为。
英文文档:

Defines common behavior expected of any class that validates URIs.

Author:
Farrukh S. Najmi

Method Summary
 boolean
 void
 

Method Detail

public void setValidateURI(boolean validate) throws JAXRException
设置是否对此对象进行 URI 验证。默认值为 true。

功能级别:0
validate true 意味着 JAXR 提供者必须在设置 URI 时执行 URI 验证;false 意味着关闭验证
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setValidateURI

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

public boolean getValidateURI() throws JAXRException
获取是否对此对象进行 URI 验证的指示。

功能级别:0
return true 意味着 JAXR 提供者必须在设置 URI 时执行 URI 验证;false 意味着关闭验证
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getValidateURI

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


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.