com.atlassian.confluence.xhtml.api
Class PageLayoutVisitor

java.lang.Object
  extended by com.atlassian.confluence.xhtml.api.PageLayoutVisitor
All Implemented Interfaces:
XhtmlVisitor

public class PageLayoutVisitor
extends Object
implements 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 Summary
PageLayoutVisitor()
           
 
Method Summary
 String getLayoutType()
           
 boolean handle(XMLEvent xmlEvent, ConversionContext context)
          Called on each XMLEvent during a parse of an XHTML document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLayoutVisitor

public PageLayoutVisitor()
Method Detail

handle

public boolean handle(XMLEvent xmlEvent,
                      ConversionContext context)
Description copied from interface: XhtmlVisitor
Called on each XMLEvent during a parse of an XHTML document.

Specified by:
handle in interface XhtmlVisitor
Returns:

getLayoutType

public String getLayoutType()


Copyright © 2003-2013 Atlassian. All Rights Reserved.