Class PageTemplateVisitor

java.lang.Object
com.yahoo.search.pagetemplates.model.PageTemplateVisitor

public class PageTemplateVisitor extends Object
Superclass of visitors over the page template object structure
Author:
bratseth
  • Constructor Details

    • PageTemplateVisitor

      public PageTemplateVisitor()
  • Method Details

    • visit

      public void visit(PageTemplate pageTemplate)
      Called each time a page template is encountered. This default implementation does nothing
    • visit

      public void visit(Source source)
      Called each time a source or source placeholder is encountered. This default implementation does nothing
    • visit

      public void visit(Section section)
      Called each time a section or section placeholder is encountered. This default implementation does nothing
    • visit

      public void visit(Renderer renderer)
      Called each time a renderer is encountered. This default implementation does nothing
    • visit

      public void visit(Choice choice)
      Called each time a choice is encountered. This default implementation does nothing
    • visit

      public void visit(MapChoice choice)
      Called each time a map choice is encountered. This default implementation does nothing
    • visit

      public void visit(Placeholder placeholder)
      Called each time a placeholder is encountered. This default implementation does nothing