Class PageTemplateVisitor
- java.lang.Object
-
- com.yahoo.search.pagetemplates.model.PageTemplateVisitor
-
public class PageTemplateVisitor extends java.lang.Object
Superclass of visitors over the page template object structure- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description PageTemplateVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(Choice choice)
Called each time a choice is encountered.void
visit(MapChoice choice)
Called each time a map choice is encountered.void
visit(Placeholder placeholder)
Called each time a placeholder is encountered.void
visit(Renderer renderer)
Called each time a renderer is encountered.void
visit(Section section)
Called each time a section or section placeholder is encountered.void
visit(Source source)
Called each time a source or source placeholder is encountered.void
visit(PageTemplate pageTemplate)
Called each time a page template is encountered.
-
-
-
Method Detail
-
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
-
-