@Override
    public void visit(Source source) {
        sources.add(source);
    }
Visits a page template object structure and records the sources mentioned.

@author bratseth
container-search/src/main/java/com/yahoo/search/pagetemplates/SourceVisitor.java