Skip to content

ical4j/ical4j-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iCal4j Templates

This library builds on the models provided by iCal4j to support rendering of iCalendar and vCard objects using template views.

The library includes a collection of predefined Views and Templates that can be used to render iCalendar and vCard objects in different formats.

Views

iCal4j Views are classes that support rendering iCalendar and vCard objects as text. Views provide accessor methods that return string representations of relevant properties for the underlying iCalendar or vCard object.

Views may be used directly, or as part of a Template rendering process.

Common traits of Views:

  • Return values for accessor methods are either string literals, or collections of string literals or other Views
  • No complex objects are returned (e.g. Date, URI, etc.)
  • Views are read-only representations of the underlying iCalendar or vCard object

Templates

iCal4j Templates are implemented using JTE syntax, and provide different rendering options for iCalendar and vCard views. Template input parameters are typically iCal4j Views, although other parameters may be used as needed.

Most templates will render as HTML, but other formats may be supported as needed.

HTML templates use Tailwind CSS for styling. The CSS files are embedded in page template output for simplicity, but for fragment templates you will need to include the Tailwind CSS file in your application separately.

About

Applying the iCalendar and vCard models to common domains

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages