Class AbstractFeedBuilder<T>
- java.lang.Object
-
- org.mnode.ical4j.serializer.jsonfeed.AbstractFeedBuilder<T>
-
- All Implemented Interfaces:
JsonBuilder
- Direct Known Subclasses:
CalendarBuilder
,ComponentBuilder
public abstract class AbstractFeedBuilder<T> extends Object implements JsonBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected T
component
protected ObjectMapper
mapper
-
Constructor Summary
Constructors Constructor Description AbstractFeedBuilder()
AbstractFeedBuilder(String version)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JsonNode
build()
Build a JSON node representing the Jsonfeed object.AbstractFeedBuilder<T>
component(T component)
protected ObjectNode
createObjectNode()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mnode.ical4j.serializer.JsonBuilder
putIfNotNull, putIfNotNull, putIfNotNull
-
-
-
-
Field Detail
-
component
protected T component
-
mapper
protected final ObjectMapper mapper
-
-
Constructor Detail
-
AbstractFeedBuilder
public AbstractFeedBuilder()
-
AbstractFeedBuilder
public AbstractFeedBuilder(String version)
-
-
Method Detail
-
component
public AbstractFeedBuilder<T> component(T component)
-
createObjectNode
protected ObjectNode createObjectNode()
-
build
public abstract JsonNode build()
Build a JSON node representing the Jsonfeed object.- Returns:
- a JSON representation of a Jsonfeed object
-
-