现在已经启用了验证器。
Now you can test the validator.
现在您就可以测试确认器了。
Add a simple unit validator method.
添加一个简单的单元确认器方法。
Write a custom validator, of course!
当然是编写一个定制验证器!
How to write custom converters and validator?
如何编写自定义转换器和验证器。
No need for page author to specify validator.
不需要页编写者指定验证器。
To fix this loophole, you'll create a custom validator.
为了修复这个漏洞,您可以创建一个定制的验证器。
Here's the example code to create a custom validator, step by step.
下面是创建自定义验证器的分步示例代码。
After the type library is written, package it for use by the validator.
编写完类型库之后,还要将它们打包,以便验证器使用。
A custom validator can be implemented to obtain a different behavior.
可实现自定义验证程序以获取不同的行为。
Each validator of the hierarchy will need a method to verify a single value.
层次结构中的每个验证器都需要一个方法来验证单个值。
This is because our validator, the program that compares results, is not perfect.
这是因为我们的用于比较结果的判别程序并不完美。
In the samples of this article, Validator is the base of an object hierarchy.
在本文的示例中,Validator是对象层次结构的基础。
When you get a response from the Validator, focus on the doctype (see Figure 6).
从Validator获得响应之后,集中处理doctype(参见图6)。
When you get a response from the Validator, focus on the doctype (see Figure 6).
从Validator获得响应之后,集中处理doctype(参见图6)。
应用推荐