Defines the Validation classes for the single property value check.

Package Specification

ROM has defined a group of property types, Number, Float, Boolean etc. The types can do the basic type-specific checks, that is, values for a Number property should be a number. Some property type may provide additional information about the property. For example, a Choice property type may validate a choice value against a choice set; an Element reference property type may validate a reference value against the definition of the target element, etc.

However, some properties may have their special requirement. For example, width of a master page is a kind of dimension (a numeric measurement + an optional unit), and its measurement value can not be negative. The classes defined in this package provide the rule for the semantic check of those properties.

 

กก

กก

กก


กก