public class AudioAlarmScribe extends VCalAlarmPropertyScribe<AudioAlarm>
AudioAlarm properties.ICalPropertyScribe.DateParser, ICalPropertyScribe.DateWriter, ICalPropertyScribe.Result<T>clazz, propertyName, qname| Constructor and Description |
|---|
AudioAlarmScribe() |
| Modifier and Type | Method and Description |
|---|---|
protected ICalDataType |
_dataType(AudioAlarm property,
ICalVersion version)
Determines the data type of a property instance.
|
protected Action |
action()
Determines what kind of
Action property this vCal alarm property
maps to, and returns a new instance of this property. |
protected AudioAlarm |
create(ICalDataType dataType,
com.github.mangstadt.vinnie.io.VObjectPropertyValues.SemiStructuredValueIterator it)
Creates a new instance of the property and populates it with the portion
of data that is specific to this vCal alarm property.
|
protected void |
toVAlarm(VAlarm valarm,
AudioAlarm property)
Populates a
VAlarm component with data that is unique to this
specific kind of vCal alarm property. |
protected List<String> |
writeData(AudioAlarm property)
Generates the part of the property value that will be included after the
part of the value that is common to all vCal alarm properties.
|
_parseText, _writeText, getSupportedVersions, toVAlarm_defaultDataType, _parseJson, _parseXml, _prepareParameters, _writeJson, _writeXml, dataType, date, date, date, date, date, defaultDataType, getPropertyClass, getPropertyName, getQName, handleTzidParameter, isInObservance, missingXmlElements, missingXmlElements, parseJson, parseText, parseXml, prepareParameters, writeJson, writeText, writeXmlpublic AudioAlarmScribe()
protected ICalDataType _dataType(AudioAlarm property, ICalVersion version)
ICalPropertyScribeDetermines the data type of a property instance.
This method should be overridden by child classes if a property's data type changes depending on its value. The default implementation of this method returns the property's default data type.
_dataType in class ICalPropertyScribe<AudioAlarm>property - the propertyversion - the version of the iCalendar object being generatedprotected List<String> writeData(AudioAlarm property)
VCalAlarmPropertyScribewriteData in class VCalAlarmPropertyScribe<AudioAlarm>property - the propertyprotected AudioAlarm create(ICalDataType dataType, com.github.mangstadt.vinnie.io.VObjectPropertyValues.SemiStructuredValueIterator it)
VCalAlarmPropertyScribecreate in class VCalAlarmPropertyScribe<AudioAlarm>dataType - the data typeit - an iterator to the property value that is positioned at the
"value" portion of the property value (after the values that are common
to all vCal alarm properties)protected void toVAlarm(VAlarm valarm, AudioAlarm property)
VCalAlarmPropertyScribeVAlarm component with data that is unique to this
specific kind of vCal alarm property.toVAlarm in class VCalAlarmPropertyScribe<AudioAlarm>valarm - the componentproperty - the propertyprotected Action action()
VCalAlarmPropertyScribeAction property this vCal alarm property
maps to, and returns a new instance of this property.action in class VCalAlarmPropertyScribe<AudioAlarm>Action propertyCopyright © 2013-2017 Michael Angstadt. All Rights Reserved.