Class Validator


  • class Validator
    extends java.lang.Object
    Performs validation on the page elements. Attributes are checked for mandatory presence, entry value validity, and consistency. As a side effect, some page global value (such as those from page directives) are stored, for later use.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Validator.DirectiveVisitor
      A visitor to validate and extract page directive info
      (package private) static class  Validator.TagExtraInfoVisitor
      A visitor for validating TagExtraInfo classes of all tags
      (package private) static class  Validator.ValidateVisitor
      A visitor for validating nodes other than page directives
    • Constructor Summary

      Constructors 
      Constructor Description
      Validator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void validate​(Compiler compiler, Node.Nodes page)  
      private static void validateXmlView​(PageData xmlView, Compiler compiler)
      Validate XML view against the TagLibraryValidator classes of all imported tag libraries.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait