private void addIfNonNull(PageElement pageElement,List<PageElement> pageElements) {
        if (pageElement!=null)
            pageElements.add(pageElement);
    }
Returns all page elements found under the given node
container-search/src/main/java/com/yahoo/search/pagetemplates/config/PageTemplateXMLReader.java