这意味着,如果在处理参数时执行验证,可以通过抛出异常预防类被终结。
This means that if you do your validation while processing the parameters, you can - by throwing an exception - prevent your class from being finalized.
拥有参数的方法不是类终结者(实际上,一个规则应当将这些报告为非法的)。
Methods with parameters are not class finalizers (in fact, a rule should be written to report these as invalid).
因此,最终结果应该是一个包含两个值元素named - USPrice的节点集,这两个元素都存有字符串参数形式的数值。
Hence the final result would be a node-set containing two value elements named — USPrice, where both hold a numeric value in the form of a string literal.
应用推荐