public class OrganizerScribe extends ICalPropertyScribe<Organizer>
Organizer
properties.ICalPropertyScribe.DateParser, ICalPropertyScribe.DateWriter, ICalPropertyScribe.ListCallback<T>, ICalPropertyScribe.Result<T>, ICalPropertyScribe.SemiStructuredIterator, ICalPropertyScribe.Splitter, ICalPropertyScribe.StructuredIterator
clazz, propertyName, qname
Constructor and Description |
---|
OrganizerScribe() |
Modifier and Type | Method and Description |
---|---|
protected Organizer |
_parseText(String value,
ICalDataType dataType,
ICalParameters parameters,
ParseContext context)
Unmarshals a property from a plain-text iCalendar data stream.
|
protected ICalParameters |
_prepareParameters(Organizer property,
WriteContext context)
Sanitizes a property's parameters before the property is written.
|
protected String |
_writeText(Organizer 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, _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 OrganizerScribe()
protected ICalParameters _prepareParameters(Organizer property, WriteContext context)
ICalPropertyScribe
Sanitizes 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 ICalPropertyScribe<Organizer>
property
- the property to writecontext
- the contextprotected Organizer _parseText(String value, ICalDataType dataType, ICalParameters parameters, ParseContext context)
ICalPropertyScribe
_parseText
in class ICalPropertyScribe<Organizer>
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 contextprotected String _writeText(Organizer property, WriteContext context)
ICalPropertyScribe
_writeText
in class ICalPropertyScribe<Organizer>
property
- the propertycontext
- the write contextpublic Set<ICalVersion> getSupportedVersions()
ICalPropertyScribe
getSupportedVersions
in class ICalPropertyScribe<Organizer>
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.