public class NicknameScribe extends ListPropertyScribe<Nickname>
Nickname
properties.VCardPropertyScribe.DateWriter
clazz, propertyName, qname
Constructor and Description |
---|
NicknameScribe() |
Modifier and Type | Method and Description |
---|---|
protected Nickname |
_newInstance() |
protected Nickname |
_parseHtml(HCardElement element,
ParseContext context)
Unmarshals the property from an hCard (HTML document).
|
_defaultDataType, _parseJson, _parseText, _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 NicknameScribe()
protected Nickname _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 VCardPropertyScribe<Nickname>
element
- the property's HTML elementcontext
- the parse contextprotected Nickname _newInstance()
_newInstance
in class ListPropertyScribe<Nickname>
Copyright © 2012–2023 Michael Angstadt. All rights reserved.