public class DaylightScribe extends ICalPropertyScribe<Daylight>
Daylight
properties.ICalPropertyScribe.DateParser, ICalPropertyScribe.DateWriter, ICalPropertyScribe.ListCallback<T>, ICalPropertyScribe.Result<T>, ICalPropertyScribe.SemiStructuredIterator, ICalPropertyScribe.Splitter, ICalPropertyScribe.StructuredIterator
clazz, propertyName, qname
Constructor and Description |
---|
DaylightScribe() |
Modifier and Type | Method and Description |
---|---|
protected Daylight |
_parseText(String value,
ICalDataType dataType,
ICalParameters parameters,
ParseContext context)
Unmarshals a property from a plain-text iCalendar data stream.
|
protected String |
_writeText(Daylight property,
WriteContext context)
Marshals a property's value to a string.
|
Set<ICalVersion> |
getSupportedVersions()
Gets the iCalendar versions that support this property.
|
_dataType, _defaultDataType, _parseJson, _parseXml, _prepareParameters, _writeJson, _writeXml, dataType, date, date, date, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handleTzidParameter, isInObservance, list, list, list, list, missingXmlElements, missingXmlElements, object, object, parseJson, parseText, parseXml, prepareParameters, semistructured, semistructured, splitter, structured, structured, structured, unescape, writeJson, writeText, writeXml
public DaylightScribe()
protected String _writeText(Daylight property, WriteContext context)
ICalPropertyScribe
_writeText
in class ICalPropertyScribe<Daylight>
property
- the propertycontext
- the write contextprotected Daylight _parseText(String value, ICalDataType dataType, ICalParameters parameters, ParseContext context)
ICalPropertyScribe
_parseText
in class ICalPropertyScribe<Daylight>
value
- the value as read off the wiredataType
- the data type of the property value. The property's VALUE
parameter is used to determine the data type. If the property has no
VALUE parameter, then this parameter will be set to the property's
default datatype. Note that the VALUE parameter is removed from the
property's parameter list after it has been read.parameters
- the parsed parameters. These parameters will be
assigned to the property object once this method returns. Therefore, do
not assign any parameters to the property object itself whilst inside of
this method, or else they will be overwritten.context
- the parse contextpublic Set<ICalVersion> getSupportedVersions()
ICalPropertyScribe
getSupportedVersions
in class ICalPropertyScribe<Daylight>
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.