ezvcard.io.scribe
Class UriPropertyScribe<T extends TextProperty>
java.lang.Object
ezvcard.io.scribe.VCardPropertyScribe<T>
ezvcard.io.scribe.SimplePropertyScribe<T>
ezvcard.io.scribe.StringPropertyScribe<T>
ezvcard.io.scribe.UriPropertyScribe<T>
- Type Parameters:
T
- the property class
- Direct Known Subclasses:
- CalendarRequestUriScribe, CalendarUriScribe, FreeBusyUrlScribe, SourceScribe, UidScribe, UrlScribe
public abstract class UriPropertyScribe<T extends TextProperty>
- extends StringPropertyScribe<T>
Marshals properties that have URI values.
- Author:
- Michael Angstadt
Methods inherited from class ezvcard.io.scribe.VCardPropertyScribe |
_dataType, _prepareParameters, dataType, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handlePrefParam, list, list, list, missingXmlElements, missingXmlElements, parseHtml, parseJson, parseText, parseXml, prepareParameters, semistructured, semistructured, split, structured, structured, structured, unescape, writeJson, writeText, writeXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriPropertyScribe
public UriPropertyScribe(Class<T> clazz,
String propertyName)
_parseHtml
protected T _parseHtml(HCardElement element,
List<String> warnings)
- Description copied from class:
VCardPropertyScribe
Unmarshals the property from an hCard (HTML document).
This method should be overridden by child classes that wish to support
hCard. The default implementation of this method will retrieve the HTML
element's hCard value (as described in HCardElement.value()
), and
pass it into the VCardPropertyScribe._parseText(java.lang.String, ezvcard.VCardDataType, ezvcard.VCardVersion, ezvcard.parameter.VCardParameters, java.util.List)
method.
- Overrides:
_parseHtml
in class SimplePropertyScribe<T extends TextProperty>
- Parameters:
element
- the property's HTML elementwarnings
- allows the programmer to alert the user to any
note-worthy (but non-critical) issues that occurred during the
unmarshalling process
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.