Class Layout

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

public class Layout extends Object
The layout of a section
Author:
bratseth
  • Field Details

    • column

      public static final Layout column
      The built in "column" layout
    • row

      public static final Layout row
      The built in "row" layout
  • Constructor Details

    • Layout

      public Layout(String name)
  • Method Details

    • getName

      public String getName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • fromString

      public static Layout fromString(String layout)
      Returns a layout having this string as name, or null if the given string is null or empty
    • toString

      public String toString()
      Overrides:
      toString in class Object