|
|||||||||
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
Implemented by:
ExternalLink, ServiceBinding
定义验证 URI 的任何类应有的共同行为。
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 |
---|
public void
setValidateURI(boolean validate) throws JAXRException
设置是否对此对象进行 URI 验证。默认值为 true。
- 功能级别:0
validate |
true 意味着 JAXR 提供者必须在设置 URI 时执行 URI 验证;false 意味着关闭验证 |
Throws | JAXRException: 如果 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 意味着关闭验证 |
Throws | JAXRException: 如果 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!