public static class Page.PageBuilder extends java.lang.Object implements ConfluenceResourceBuilder<Page>
PageBuilder internal class
Used to build pages
| Constructor and Description |
|---|
PageBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Page |
fromJson(org.json.simple.JSONObject jsonPage)
Creates a T instance from a JSON representation
|
Page |
fromJson(org.json.simple.JSONObject jsonPage,
Page page)
Populates the given T instance from a JSON representation and return it
|
java.lang.Class<Page> |
getType()
Returns the Class of the resource that can be built
|
public Page fromJson(org.json.simple.JSONObject jsonPage)
ConfluenceResourceBuilderCreates a T instance from a JSON representation
fromJson in interface ConfluenceResourceBuilder<Page>public Page fromJson(org.json.simple.JSONObject jsonPage, Page page)
ConfluenceResourceBuilderPopulates the given T instance from a JSON representation and return it
fromJson in interface ConfluenceResourceBuilder<Page>public java.lang.Class<Page> getType()
ConfluenceResourceBuilderReturns the Class of the resource that can be built
getType in interface ConfluenceResourceBuilder<Page>