public static Layout fromString(String layout) {
        //if (layout==null) return null;
        //if (layout)
        if (layout.equals("column")) return column;
        if (layout.equals("row")) return row;
        return new Layout(layout);
    }
Returns a layout having this string as name, or null if the given string is null or empty
container-search/src/main/java/com/yahoo/search/pagetemplates/model/Layout.java