Class AbstractJSCalendarBuilder<T>
- java.lang.Object
-
- org.mnode.ical4j.serializer.jscalendar.AbstractJSCalendarBuilder<T>
-
- All Implemented Interfaces:
JsonBuilder
- Direct Known Subclasses:
JSEventBuilder
,JSGroupBuilder
,JSTaskBuilder
public abstract class AbstractJSCalendarBuilder<T> extends Object implements JsonBuilder
-
-
Constructor Summary
Constructors Constructor Description AbstractJSCalendarBuilder(String objectType)
-
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.AbstractJSCalendarBuilder<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
-
-
Constructor Detail
-
AbstractJSCalendarBuilder
public AbstractJSCalendarBuilder(String objectType)
-
-
Method Detail
-
component
public AbstractJSCalendarBuilder<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
-
-