public class LabelScribe extends StringPropertyScribe<Label>
Label
properties.VCardPropertyScribe.DateWriter
dataType
clazz, propertyName, qname
Constructor and Description |
---|
LabelScribe() |
Modifier and Type | Method and Description |
---|---|
protected Label |
_parseHtml(HCardElement element,
ParseContext context)
Unmarshals the property from an hCard (HTML document).
|
protected Label |
_parseValue(String value)
Parses the property from a string.
|
_writeValue
_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 LabelScribe()
protected Label _parseValue(String value)
SimplePropertyScribe
_parseValue
in class SimplePropertyScribe<Label>
value
- the property valueprotected Label _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<Label>
element
- the property's HTML elementcontext
- the parse contextCopyright © 2012–2023 Michael Angstadt. All rights reserved.