Class PageLayoutVisitor
java.lang.Object
com.atlassian.confluence.xhtml.api.PageLayoutVisitor
- All Implemented Interfaces:
- XhtmlVisitor
Provides a handler for detecting if a page contains an atlassian page layout. If so the layout
 name will be parsed out
- Since:
- 4.2
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintbooleanhandle(XMLEvent xmlEvent, ConversionContext context) Called on each XMLEvent during a parse of an XHTML document.
- 
Constructor Details- 
PageLayoutVisitorpublic PageLayoutVisitor()
 
- 
- 
Method Details- 
handleDescription copied from interface:XhtmlVisitorCalled on each XMLEvent during a parse of an XHTML document.- Specified by:
- handlein interface- XhtmlVisitor
- Returns:
- true if visiting should be halted immediately, false if it should continue
 
- 
getPageLayoutOneType
- 
getPageLayout2CellCountpublic int getPageLayout2CellCount()
- 
getPageLayout2RowCountpublic int getPageLayout2RowCount()
 
-