public class DateStartScribe extends DateOrDateTimePropertyScribe<DateStart>
DateStart properties.ICalPropertyScribe.DateParser, ICalPropertyScribe.DateWriter, ICalPropertyScribe.ListCallback<T>, ICalPropertyScribe.Result<T>, ICalPropertyScribe.SemiStructuredIterator, ICalPropertyScribe.Splitter, ICalPropertyScribe.StructuredIteratorclazz, propertyName, qname| Constructor and Description |
|---|
DateStartScribe() |
| Modifier and Type | Method and Description |
|---|---|
protected ICalParameters |
_prepareParameters(DateStart property,
WriteContext context)
Sanitizes a property's parameters before the property is written.
|
protected JCalValue |
_writeJson(DateStart property,
WriteContext context)
Marshals a property's value to a JSON data stream (jCal).
|
protected String |
_writeText(DateStart property,
WriteContext context)
Marshals a property's value to a string.
|
protected void |
_writeXml(DateStart property,
XCalElement element,
WriteContext context)
Marshals a property's value to an XML element (xCal).
|
protected DateStart |
newInstance(ICalDate date) |
_dataType, _parseJson, _parseText, _parseXml_defaultDataType, dataType, date, date, date, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, getSupportedVersions, handleTzidParameter, isInObservance, list, list, list, list, missingXmlElements, missingXmlElements, object, object, parseJson, parseText, parseXml, prepareParameters, semistructured, semistructured, splitter, structured, structured, structured, unescape, writeJson, writeText, writeXmlpublic DateStartScribe()
protected ICalParameters _prepareParameters(DateStart property, WriteContext context)
ICalPropertyScribeSanitizes a property's parameters before the property is written.
This method should be overridden by child classes that wish to tweak the property's parameters before the property is written. The default implementation of this method returns the property's parameters unmodified.
_prepareParameters in class DateOrDateTimePropertyScribe<DateStart>property - the property to writecontext - the contextprotected String _writeText(DateStart property, WriteContext context)
ICalPropertyScribe_writeText in class DateOrDateTimePropertyScribe<DateStart>property - the propertycontext - the write contextprotected void _writeXml(DateStart property, XCalElement element, WriteContext context)
ICalPropertyScribeMarshals a property's value to an XML element (xCal).
This method should be overridden by child classes that wish to support
xCal. The default implementation of this method will append one child
element to the property's XML element. The child element's name will be
that of the property's data type (retrieved using the ICalPropertyScribe.dataType(T, biweekly.ICalVersion)
method), and the child element's text content will be set to the
property's marshalled plain-text value (retrieved using the
ICalPropertyScribe.writeText(T, biweekly.io.WriteContext) method).
_writeXml in class DateOrDateTimePropertyScribe<DateStart>property - the propertyelement - the property's XML elementcontext - the contextprotected JCalValue _writeJson(DateStart property, WriteContext context)
ICalPropertyScribeMarshals a property's value to a JSON data stream (jCal).
This method should be overridden by child classes that wish to support
jCal. The default implementation of this method will create a jCard
property that has a single JSON string value (generated by the
ICalPropertyScribe.writeText(T, biweekly.io.WriteContext) method).
_writeJson in class DateOrDateTimePropertyScribe<DateStart>property - the propertycontext - the contextprotected DateStart newInstance(ICalDate date)
newInstance in class DateOrDateTimePropertyScribe<DateStart>Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.