14. Common Methods

Aus Hugo Doku

Wechseln zu: Navigation, Suche

14.1. isValid

boolean isValid( )

Description:

This method is called by the framework to check whether the model file is valid. By default it returns true. Overload this method to do individual validation of your model file. If the method returns false, the generating process is aborted. To tell the application engineer what's wrong, call logModelError inside that method.

Return

Whether model validation was successful.


Next: 14.2. logError
Persönliche Werkzeuge