com.atlassian.confluence.pageobjects.page.content
Class RenderedContent

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.content.RenderedContent

public class RenderedContent
extends java.lang.Object

Represents the rendered wiki content on both the view page and inside the editor.


Field Summary
protected  ConfluenceFrameExecutor execute
           
protected  com.atlassian.pageobjects.elements.PageElementFinder page
           
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
          Returns the text content of the given column index.
 
Constructor Summary
RenderedContent()
           
 
Method Summary
 org.openqa.selenium.By getCellLocator()
           
 java.lang.String getColumnContent(int column)
          Returns the text content of the given column index.
 java.lang.String getColumnDataType(int column)
          Return the cell type for a certain cell, querying data-type attribute.
 org.openqa.selenium.By getColumnLocator()
           
 java.lang.String getFooterContent()
          Returns the text content of the footer in the content page layout.
 org.openqa.selenium.By getFooterLocator()
           
 java.lang.String getHeaderContent()
          Returns the text content of the header in the content page layout.
 org.openqa.selenium.By getHeaderLocator()
           
 int getNumberOfColumns()
          Returns the number of columns in the current layout of the content
 java.lang.String getText()
          Returns all the text in the wiki content
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTimedColumnContent(int column)
           
 boolean hasFooter()
          Returns true if the current page content has a footer in its layout.
 boolean hasHeader()
          Returns true if the current page content has a header in its layout.
 java.lang.Boolean isElementPresentInEditorContent(org.openqa.selenium.By selection)
          Returns if certain selection is matched on the editor content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder page

execute

@Inject
protected ConfluenceFrameExecutor execute

timeouts

@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
Returns the text content of the given column index. Note that the column index is 1 based.

Constructor Detail

RenderedContent

public RenderedContent()
Method Detail

getText

public java.lang.String getText()
Returns all the text in the wiki content


getNumberOfColumns

public int getNumberOfColumns()
Returns the number of columns in the current layout of the content


getColumnDataType

public java.lang.String getColumnDataType(int column)
Return the cell type for a certain cell, querying data-type attribute. Note that the column index is 1 based.


getColumnContent

public java.lang.String getColumnContent(int column)
Returns the text content of the given column index. Note that the column index is 1 based.


getTimedColumnContent

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTimedColumnContent(int column)

getCellLocator

public org.openqa.selenium.By getCellLocator()

getColumnLocator

public org.openqa.selenium.By getColumnLocator()

hasHeader

public boolean hasHeader()
Returns true if the current page content has a header in its layout.


isElementPresentInEditorContent

public java.lang.Boolean isElementPresentInEditorContent(org.openqa.selenium.By selection)
Returns if certain selection is matched on the editor content


getHeaderContent

public java.lang.String getHeaderContent()
Returns the text content of the header in the content page layout.


getHeaderLocator

public org.openqa.selenium.By getHeaderLocator()

hasFooter

public boolean hasFooter()
Returns true if the current page content has a footer in its layout.


getFooterContent

public java.lang.String getFooterContent()
Returns the text content of the footer in the content page layout.


getFooterLocator

public org.openqa.selenium.By getFooterLocator()


Copyright © 2003-2013 Atlassian. All Rights Reserved.