}
public Page loadRootPage(String baseUrl, String spaceKey, String pageName) {
String searchResult = client.get(format(SEARCH_PAGE, baseUrl, spaceKey, pageName));
XStream parse = configureXStream();
Results results = (Results) parse.fromXML(searchResult);
return results.getGroup().getResult();
}
public Page loadPage(String pageUrl, boolean expanded) {
String pattern = expanded ? EXPAND_PAGE : REGULAR_PAGE;