HydraExpress provides an
isValid() method in each generated class for checking that the data in elements with a restricted
simpleType conforms to the restrictions. For information on this method, see
Instance Document Validation. For an example of using
isValid(), see
Validating the Instance Document.