T
- the property classpublic abstract class UriPropertyScribe<T extends TextProperty> extends StringPropertyScribe<T>
VCardPropertyScribe.DateWriter
dataType
clazz, 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, writeXml
public UriPropertyScribe(Class<T> clazz, String propertyName)
protected T _parseHtml(HCardElement element, ParseContext context)
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.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.