Class PageLayout
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.model.pagelayouts.PageLayout
-
public class PageLayout extends Object
Representation of a Page Layout for xhtml unmarshalling and marshalling. A Page Layout is a top level element that defines the top level structure of the page. The structure is defined in terms of a number of Sections that each contains a number of columns in one of several configurations.
-
-
Constructor Summary
Constructors Constructor Description PageLayout(PageLayoutSection... sections)
PageLayout(Collection<PageLayoutSection> sections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<PageLayoutSection>
getSections()
boolean
hasOneSection()
boolean
hasOneSectionAndOneCell()
-
-
-
Constructor Detail
-
PageLayout
public PageLayout(Collection<PageLayoutSection> sections)
-
PageLayout
public PageLayout(PageLayoutSection... sections)
-
-
Method Detail
-
getSections
public Collection<PageLayoutSection> getSections()
-
hasOneSectionAndOneCell
public boolean hasOneSectionAndOneCell()
-
hasOneSection
public boolean hasOneSection()
-
-