- All Known Subinterfaces:
ByRule<T>
,PropAlarmTrigger<T>
,PropAltText<T>
,PropAttachment<T>
,PropAttendee<U>
,PropCalendarUser<T>
,PropDateTime<T>
,PropFreeBusy<T>
,PropLanguage<T>
,PropRecurrenceID<T>
,PropRelationship<T>
,RRulePart<T>
,VAttendee<T>
,VChild
,VComponent
,VDateTimeEnd<T>
,VDescribable<T>
,VDescribable2<T>
,VDuration<T>
,VLastModified<T>
,VParameter<T>
,VParent
,VProperty<T>
,VRepeatable<T>
- All Known Implementing Classes:
Action
,AlarmTriggerRelationship
,AlternateText
,Attachment
,Attendee
,ByDay
,ByHour
,ByMinute
,ByMonth
,ByMonthDay
,ByRuleAbstract
,ByRuleIntegerAbstract
,BySecond
,BySetPosition
,ByWeekNumber
,ByYearDay
,CalendarScale
,CalendarUser
,Categories
,Classification
,Comment
,CommonName
,Contact
,Count
,DateTimeCompleted
,DateTimeCreated
,DateTimeDue
,DateTimeEnd
,DateTimeStamp
,DateTimeStart
,DaylightSavingTime
,Delegatees
,Delegators
,Description
,DirectoryEntry
,DurationProp
,Encoding
,ExceptionDates
,FormatType
,FreeBusyTime
,FreeBusyType
,Frequency
,GeographicPosition
,GroupMembership
,Interval
,Language
,LastModified
,Location
,Method
,NonStandardComponent
,NonStandardParameter
,NonStandardProperty
,Organizer
,ParameterEnumBasedWithUnknown
,ParticipationRole
,ParticipationStatus
,PercentComplete
,Priority
,ProductIdentifier
,PropBaseAltText
,PropBaseDateTime
,PropBaseLanguage
,PropBaseUTC
,PropertyBaseAttendee
,PropertyBaseCalendarUser
,PropertyBaseRecurrence
,PropertyBaseZoneOffset
,Range
,RecurrenceDates
,RecurrenceId
,RecurrenceRule
,RecurrenceRuleValue
,RelatedTo
,Relationship
,RepeatCount
,RequestStatus
,Resources
,RRulePartBase
,RSVP
,SentBy
,Sequence
,StandardOrDaylight
,StandardTime
,Status
,Summary
,TimeTransparency
,TimeZoneIdentifier
,TimeZoneIdentifierParameter
,TimeZoneName
,TimeZoneOffsetFrom
,TimeZoneOffsetTo
,TimeZoneURL
,Trigger
,UniformResourceLocator
,UniqueIdentifier
,UnknownProperty
,Until
,VAlarm
,ValueParameter
,VCalendar
,VCommon
,VComponentBase
,VDescribableBase
,VDisplayable
,VElementBase
,Version
,VEvent
,VFreeBusy
,VJournal
,VLocatable
,VParameterBase
,VParentBase
,VPersonal
,VPrimary
,VPropertyBase
,VRepeatableBase
,VTimeZone
,VTodo
,WeekStart
public interface VElement
Interface for all calendar elements.
-
Method Summary
Modifier and TypeMethodDescriptionerrors()
Produces a list of error messages indicating problems with calendar elementerrors()
is invoked recursively to return errors of child elements in addition to errors in parentdefault boolean
isValid()
Checks element to determine if necessary properties are set.name()
Returns the name of the component as it would appear in the iCalendar content line.
-
Method Details
-
name
String name()Returns the name of the component as it would appear in the iCalendar content line.
Examples:
- VEVENT
- SUMMARY
- LANGUAGE
- Returns:
- - the component name
-
isValid
default boolean isValid()Checks element to determine if necessary properties are set.isValid()
is invoked recursively to test child elements if element is a parent- Returns:
- - true if component is valid, false otherwise
-
errors
Produces a list of error messages indicating problems with calendar elementerrors()
is invoked recursively to return errors of child elements in addition to errors in parent- Returns:
- - list of error messages
-