biweekly.property.marshaller
Class GeoMarshaller
java.lang.Object
biweekly.property.marshaller.ICalPropertyMarshaller<Geo>
biweekly.property.marshaller.GeoMarshaller
public class GeoMarshaller
- extends ICalPropertyMarshaller<Geo>
Marshals Geo
properties.
- Author:
- Michael Angstadt
Methods inherited from class biweekly.property.marshaller.ICalPropertyMarshaller |
_prepareParameters, date, date, escape, getPropertyClass, getPropertyName, getQName, parseComponent, parseList, parseText, parseXml, prepareParameters, split, unescape, writeText, writeXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoMarshaller
public GeoMarshaller()
_writeText
protected String _writeText(Geo property)
- Description copied from class:
ICalPropertyMarshaller
- Marshals a property's value to a string.
- Specified by:
_writeText
in class ICalPropertyMarshaller<Geo>
- Parameters:
property
- the property
- Returns:
- the marshalled value
_parseText
protected Geo _parseText(String value,
ICalParameters parameters,
List<String> warnings)
- Description copied from class:
ICalPropertyMarshaller
- Unmarshals a property's value.
- Specified by:
_parseText
in class ICalPropertyMarshaller<Geo>
- Parameters:
value
- the valueparameters
- the property's parameterswarnings
- allows the programmer to alert the user to any
note-worthy (but non-critical) issues that occurred during the
unmarshalling process
- Returns:
- the unmarshalled property object
_writeXml
protected void _writeXml(Geo property,
XCalElement element)
- Description copied from class:
ICalPropertyMarshaller
- Marshals a property's value to an XML element (xCal).
- Overrides:
_writeXml
in class ICalPropertyMarshaller<Geo>
- Parameters:
property
- the propertyelement
- the XML element
_parseXml
protected Geo _parseXml(XCalElement element,
ICalParameters parameters,
List<String> warnings)
- Description copied from class:
ICalPropertyMarshaller
- Unmarshals a property's value from an XML document (xCal).
- Overrides:
_parseXml
in class ICalPropertyMarshaller<Geo>
- Parameters:
element
- the property's XML elementparameters
- the property's parameterswarnings
- allows the programmer to alert the user to any
note-worthy (but non-critical) issues that occurred during the
unmarshalling process
- Returns:
- the unmarshalled property object
Copyright © 2013 Michael Angstadt. All Rights Reserved.