Class Space.SpaceBuilder
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.confluence.v6.model.Space.SpaceBuilder
-
- All Implemented Interfaces:
ConfluenceResourceBuilder<Space>
- Enclosing class:
- Space
public static class Space.SpaceBuilder extends java.lang.Object implements ConfluenceResourceBuilder<Space>
-
-
Constructor Summary
Constructors Constructor Description SpaceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpacefromJson(org.json.simple.JSONObject spaceJson)Creates a T instance from a JSON representationSpacefromJson(org.json.simple.JSONObject spaceJson, Space space)Populates the given T instance from a JSON representation and return itjava.lang.Class<Space>getType()Returns the Class of the resource that can be built
-
-
-
Method Detail
-
fromJson
public Space fromJson(org.json.simple.JSONObject spaceJson)
Description copied from interface:ConfluenceResourceBuilderCreates a T instance from a JSON representation
- Specified by:
fromJsonin interfaceConfluenceResourceBuilder<Space>- Returns:
- T instance
-
fromJson
public Space fromJson(org.json.simple.JSONObject spaceJson, Space space)
Description copied from interface:ConfluenceResourceBuilderPopulates the given T instance from a JSON representation and return it
- Specified by:
fromJsonin interfaceConfluenceResourceBuilder<Space>- Returns:
- T instance
-
getType
public java.lang.Class<Space> getType()
Description copied from interface:ConfluenceResourceBuilderReturns the Class of the resource that can be built
- Specified by:
getTypein interfaceConfluenceResourceBuilder<Space>- Returns:
- the type Class of the resource which can be built by this builder
-
-