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 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()
           
 int getNumberOfColumns()
          Returns the number of columns in the current layout of the content
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> getNumberOfColumns(org.openqa.selenium.By parentRow)
          Gets number of columns for a particular row (for page layouts)
 java.lang.String getText()
          Deprecated. use getTextTimed instead
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTextTimed()
          Returns all the text in the wiki content
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTimedColumnContent(int column)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTimedPageLayoutsCellContent(int row, int column)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasInlineMacro(java.lang.String macroName, java.util.List<java.lang.String> macroParameters)
          Deprecated. since 5.4.4 use the EditorContent.hasInlineMacro(java.lang.String, java.util.List)
 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

@Deprecated
public java.lang.String getText()
Deprecated. use getTextTimed instead

Returns all the text in the wiki content


getTextTimed

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTextTimed()
Returns all the text in the wiki content

Since:
5.6

getNumberOfColumns

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> getNumberOfColumns(org.openqa.selenium.By parentRow)
Gets number of columns for a particular row (for page layouts)

Since:
5.6

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)

getTimedPageLayoutsCellContent

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.String> getTimedPageLayoutsCellContent(int row,
                                                                                                            int column)
Parameters:
row - is 1 index based
column - is 1 index based
Since:
5.6

getCellLocator

public org.openqa.selenium.By getCellLocator()

getColumnLocator

public org.openqa.selenium.By getColumnLocator()

isElementPresentInEditorContent

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


hasInlineMacro

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasInlineMacro(java.lang.String macroName,
                                                                                             java.util.List<java.lang.String> macroParameters)
Deprecated. since 5.4.4 use the EditorContent.hasInlineMacro(java.lang.String, java.util.List)

Check if inline macro is existed on editor panel or not Warning: This method has been deprecated since Confluence 5.4.4 because it is should be place at EditorContent



Copyright © 2003-2014 Atlassian. All Rights Reserved.