T - the property classpublic abstract class UriPropertyScribe<T extends TextProperty> extends StringPropertyScribe<T>
VCardPropertyScribe.DateWriterdataTypeclazz, propertyName, qname| Constructor and Description |
|---|
UriPropertyScribe(Class<T> clazz,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
_parseHtml(HCardElement element,
ParseContext context)
Unmarshals the property from an hCard (HTML document).
|
_writeValue_defaultDataType, _parseJson, _parseText, _parseValue, _parseXml, _writeJson, _writeText, _writeXml_dataType, _prepareParameters, dataType, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handlePrefParam, missingXmlElements, missingXmlElements, parseHtml, parseJson, parseText, parseXml, prepareParameters, writeJson, writeText, writeXmlpublic UriPropertyScribe(Class<T> clazz, String propertyName)
protected T _parseHtml(HCardElement element, ParseContext context)
VCardPropertyScribeUnmarshals 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.parameter.VCardParameters, ezvcard.io.ParseContext) method.
_parseHtml in class SimplePropertyScribe<T extends TextProperty>element - the property's HTML elementcontext - the parse contextCopyright © 2012–2023 Michael Angstadt. All rights reserved.