Package org.mnode.ical4j.serializer.jot
Class AbstractJotBuilder<T>
- java.lang.Object
-
- org.mnode.ical4j.serializer.jot.AbstractJotBuilder<T>
-
- All Implemented Interfaces:
JsonBuilder
- Direct Known Subclasses:
CalendarBuilder
,CardBuilder
,ComponentBuilder
,OrganizerBuilder
public abstract class AbstractJotBuilder<T> extends Object implements JsonBuilder
-
-
Constructor Summary
Constructors Constructor Description AbstractJotBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JsonNode
build()
Build a JSON node representing the JSCalendar object.AbstractJotBuilder<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
-
-
Method Detail
-
component
public AbstractJotBuilder<T> component(T component)
-
createObjectNode
protected ObjectNode createObjectNode()
-
build
public abstract JsonNode build()
Build a JSON node representing the JSCalendar object.- Returns:
- a JSON representation of a JSCalendar object
-
-