1.3.2. Model Validation

Aus Hugo Doku

Wechseln zu: Navigation, Suche

To validate your .model file, you can use a XML schema file respectivly a DTD. But there are cases where more complex correlations between tags exists, which you want to check.

Therefore HuGo provides a validation mechanism: After all Frame objects are created HuGo calls the method isValid() for each Frame object before it starts the generating output process. By default this method returns true, which means, everything is okay. Overload this method to do your own validation!


<not documented further yet....>


Next: 1.3.3. Control Structures in Frames
Persönliche Werkzeuge