URIValidator (Java EE 5)

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.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!