T - the property classpublic abstract class TextListPropertyScribe<T extends ListProperty<String>> extends ListPropertyScribe<T,String>
ICalPropertyScribe.DateParser, ICalPropertyScribe.DateWriter, ICalPropertyScribe.ListCallback<T>, ICalPropertyScribe.Result<T>, ICalPropertyScribe.SemiStructuredIterator, ICalPropertyScribe.Splitter, ICalPropertyScribe.StructuredIteratorclazz, propertyName, qname| Constructor and Description |
|---|
TextListPropertyScribe(Class<T> clazz,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
protected ICalDataType |
_defaultDataType(ICalVersion version)
Determines the default data type of this property.
|
protected String |
readValue(T property,
String value,
ICalDataType dataType,
ICalParameters parameters,
ParseContext context) |
protected String |
writeValue(T property,
String value,
WriteContext context) |
_parseJson, _parseText, _parseXml, _writeJson, _writeText, _writeXml, newInstance_dataType, _prepareParameters, 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 TextListPropertyScribe(Class<T> clazz, String propertyName)
protected ICalDataType _defaultDataType(ICalVersion version)
ICalPropertyScribeDetermines the default data type of this property.
This method should be overridden by child classes if a property's default
data type changes depending the iCalendar version. The default
implementation of this method returns the data type that was passed into
the ICalPropertyScribe.ICalPropertyScribe(Class, String, ICalDataType) constructor.
Null is returned if this constructor was not invoked.
_defaultDataType in class ICalPropertyScribe<T extends ListProperty<String>>version - the version of the iCalendar object being generatedprotected String writeValue(T property, String value, WriteContext context)
writeValue in class ListPropertyScribe<T extends ListProperty<String>,String>protected String readValue(T property, String value, ICalDataType dataType, ICalParameters parameters, ParseContext context)
readValue in class ListPropertyScribe<T extends ListProperty<String>,String>Copyright © 2013-2016 Michael Angstadt. All Rights Reserved.