Modifier and Type | Method and Description |
---|---|
static ICalVersion |
ICalVersion.get(String version)
Gets a
ICalVersion instance based on the given version number. |
ICalVersion |
ICalendar.getVersion()
Gets the version of this iCalendar object.
|
static ICalVersion |
ICalVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ICalVersion[] |
ICalVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ICalendar.setVersion(ICalVersion version)
Sets the version of this iCalendar object.
|
ValidationWarnings |
ICalendar.validate(ICalVersion version)
Checks this iCalendar object for data consistency problems or deviations
from the spec.
|
protected void |
ICalendar.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
Biweekly.WriterChainText |
Biweekly.WriterChainText.version(ICalVersion version)
Sets the iCal version to adhere to when writing (defaults to 2.0).
|
Modifier and Type | Method and Description |
---|---|
List<ValidationWarnings.WarningsGroup> |
ICalComponent.validate(List<ICalComponent> hierarchy,
ICalVersion version)
Checks the component for data consistency problems or deviations from the
spec.
|
protected void |
VTodo.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
VTimezone.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
VJournal.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
VFreeBusy.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
VEvent.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
VAlarm.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Observance.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ICalComponent.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings)
Checks the component for data consistency problems or deviations from the
spec.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ICalVersion |
StreamWriter.getTargetVersion()
Gets the version that the next iCalendar object will be written as.
|
ICalVersion |
WriteContext.getVersion()
Gets the version of the iCalendar object that is being written.
|
ICalVersion |
ParseContext.getVersion()
Gets the version of the iCalendar object being parsed.
|
Modifier and Type | Method and Description |
---|---|
void |
ParseContext.setVersion(ICalVersion version)
Sets the version of the iCalendar object being parsed.
|
Constructor and Description |
---|
WriteContext(ICalVersion version,
TimezoneInfo timezoneOptions) |
Modifier and Type | Method and Description |
---|---|
protected ICalVersion |
JCalWriter.getTargetVersion() |
Modifier and Type | Method and Description |
---|---|
ICalComponentScribe<? extends ICalComponent> |
ScribeIndex.getComponentScribe(String componentName,
ICalVersion version)
Gets a component scribe by name.
|
ICalPropertyScribe<? extends ICalProperty> |
ScribeIndex.getPropertyScribe(String propertyName,
ICalVersion version)
Gets a property scribe by name.
|
Modifier and Type | Method and Description |
---|---|
Set<ICalVersion> |
VTimezoneScribe.getSupportedVersions() |
Set<ICalVersion> |
VJournalScribe.getSupportedVersions() |
Set<ICalVersion> |
VFreeBusyScribe.getSupportedVersions() |
Set<ICalVersion> |
VAlarmScribe.getSupportedVersions() |
Set<ICalVersion> |
ObservanceScribe.getSupportedVersions() |
Set<ICalVersion> |
ICalComponentScribe.getSupportedVersions()
Gets the iCalendar versions that support this component.
|
Modifier and Type | Method and Description |
---|---|
protected ICalDataType |
AttachmentScribe._dataType(Attachment property,
ICalVersion version) |
protected ICalDataType |
AttendeeScribe._dataType(Attendee property,
ICalVersion version) |
protected ICalDataType |
AudioAlarmScribe._dataType(AudioAlarm property,
ICalVersion version) |
protected ICalDataType |
ExceptionDatesScribe._dataType(ExceptionDates property,
ICalVersion version) |
protected ICalDataType |
RawPropertyScribe._dataType(RawProperty property,
ICalVersion version) |
protected ICalDataType |
RecurrenceDatesScribe._dataType(RecurrenceDates property,
ICalVersion version) |
protected ICalDataType |
ICalPropertyScribe._dataType(T property,
ICalVersion version)
Determines the data type of a property instance.
|
protected ICalDataType |
DateOrDateTimePropertyScribe._dataType(T property,
ICalVersion version) |
protected ICalDataType |
TriggerScribe._dataType(Trigger property,
ICalVersion version) |
protected ICalDataType |
TextListPropertyScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
RecurrencePropertyScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
ICalPropertyScribe._defaultDataType(ICalVersion version)
Determines the default data type of this property.
|
protected ICalDataType |
GeoScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
FreeBusyScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
ExceptionDatesScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
EmailAlarmScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
DurationPropertyScribe._defaultDataType(ICalVersion version) |
protected ICalDataType |
AttendeeScribe._defaultDataType(ICalVersion version) |
ICalDataType |
ICalPropertyScribe.dataType(T property,
ICalVersion version)
Determines the data type of a property instance.
|
ICalDataType |
ICalPropertyScribe.defaultDataType(ICalVersion version)
Determines the default data type of this property.
|
protected Url |
UrlScribe.newInstance(String value,
ICalVersion version) |
protected Uid |
UidScribe.newInstance(String value,
ICalVersion version) |
protected Transparency |
TransparencyScribe.newInstance(String value,
ICalVersion version) |
protected TimezoneUrl |
TimezoneUrlScribe.newInstance(String value,
ICalVersion version) |
protected TimezoneName |
TimezoneNameScribe.newInstance(String value,
ICalVersion version) |
protected TimezoneId |
TimezoneIdScribe.newInstance(String value,
ICalVersion version) |
protected abstract T |
TextPropertyScribe.newInstance(String value,
ICalVersion version) |
protected Summary |
SummaryScribe.newInstance(String value,
ICalVersion version) |
protected Status |
StatusScribe.newInstance(String value,
ICalVersion version) |
protected RelatedTo |
RelatedToScribe.newInstance(String value,
ICalVersion version) |
protected ProductId |
ProductIdScribe.newInstance(String value,
ICalVersion version) |
protected Method |
MethodScribe.newInstance(String value,
ICalVersion version) |
protected Location |
LocationScribe.newInstance(String value,
ICalVersion version) |
protected Description |
DescriptionScribe.newInstance(String value,
ICalVersion version) |
protected Contact |
ContactScribe.newInstance(String value,
ICalVersion version) |
protected Comment |
CommentScribe.newInstance(String value,
ICalVersion version) |
protected Classification |
ClassificationScribe.newInstance(String value,
ICalVersion version) |
protected CalendarScale |
CalendarScaleScribe.newInstance(String value,
ICalVersion version) |
protected Action |
ActionScribe.newInstance(String value,
ICalVersion version) |
Modifier and Type | Method and Description |
---|---|
ICalVersion |
ICalWriter.getTargetVersion()
Gets the version that the written iCalendar objects will adhere to.
|
ICalVersion |
ICalRawWriter.getVersion()
Gets the iCalendar version that the writer is adhering to.
|
ICalVersion |
ICalRawReader.getVersion()
Gets the iCalendar version that the reader is currently parsing with.
|
Modifier and Type | Method and Description |
---|---|
void |
ICalWriter.setTargetVersion(ICalVersion targetVersion)
Sets the version that the written iCalendar objects will adhere to.
|
void |
ICalRawWriter.setVersion(ICalVersion version)
Sets the iCalendar version that the writer should adhere to.
|
Constructor and Description |
---|
ICalRawWriter(Writer writer,
ICalVersion version)
Creates an iCalendar raw writer.
|
ICalWriter(File file,
boolean append,
ICalVersion version)
Creates an iCalendar writer that writes to a file.
|
ICalWriter(File file,
ICalVersion version)
Creates an iCalendar writer that writes to a file.
|
ICalWriter(OutputStream outputStream,
ICalVersion version)
Creates an iCalendar writer that writes to an output stream.
|
ICalWriter(Writer writer,
ICalVersion version)
Creates an iCalendar writer that writes to a writer.
|
Modifier and Type | Method and Description |
---|---|
protected ICalVersion |
XCalWriter.getTargetVersion() |
protected ICalVersion |
XCalDocument.XCalDocumentStreamWriter.getTargetVersion() |
Modifier and Type | Field and Description |
---|---|
protected ICalVersion[] |
VersionedEnumParameterValue.supportedVersions |
Modifier and Type | Method and Description |
---|---|
String |
ParticipationLevel.getValue(ICalVersion version)
Gets the value of the parameter
|
boolean |
VersionedEnumParameterValue.isSupported(ICalVersion version)
Determines if the parameter value is supported by the given vCard
version.
|
List<Warning> |
ICalParameters.validate(ICalVersion version)
Checks this parameters list for data consistency problems or deviations
from the spec.
|
Constructor and Description |
---|
VersionedEnumParameterValue(String value,
ICalVersion... supportedVersions) |
Modifier and Type | Method and Description |
---|---|
ICalVersion |
Version.toICalVersion()
Converts this property's value to an
ICalVersion enum. |
Modifier and Type | Method and Description |
---|---|
protected Collection<ICalVersion> |
Status.getValueSupportedVersions() |
protected Collection<ICalVersion> |
EnumProperty.getValueSupportedVersions()
Gets the iCalendar versions that this property's value is supported in.
|
protected Collection<ICalVersion> |
CalendarScale.getValueSupportedVersions() |
protected Collection<ICalVersion> |
Action.getValueSupportedVersions() |
Modifier and Type | Method and Description |
---|---|
protected Collection<String> |
Transparency.getStandardValues(ICalVersion version) |
protected Collection<String> |
Status.getStandardValues(ICalVersion version) |
protected abstract Collection<String> |
EnumProperty.getStandardValues(ICalVersion version)
Gets the list of acceptable values for this property.
|
protected Collection<String> |
Classification.getStandardValues(ICalVersion version) |
protected Collection<String> |
CalendarScale.getStandardValues(ICalVersion version) |
protected Collection<String> |
Action.getStandardValues(ICalVersion version) |
List<Warning> |
ICalProperty.validate(List<ICalComponent> components,
ICalVersion version)
Checks the property for data consistency problems or deviations from the
spec.
|
protected void |
Version.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ValuedProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
UtcOffsetProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Trigger.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Timezone.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
RequestStatus.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
RecurrenceProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
RecurrenceDates.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
PercentComplete.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ListProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ICalProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings)
Checks the property for data consistency problems or deviations from the
spec.
|
protected void |
Geo.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
FreeBusy.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ExceptionRule.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
ExceptionDates.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
EnumProperty.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Daylight.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Attendee.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
protected void |
Attachment.validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings) |
Constructor and Description |
---|
Version(ICalVersion version)
Creates a new version property.
|
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.