|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectezvcard.io.scribe.VCardPropertyScribe<T>
ezvcard.io.scribe.SimplePropertyScribe<T>
ezvcard.io.scribe.StringPropertyScribe<Label>
ezvcard.io.scribe.LabelScribe
public class LabelScribe
Marshals Label properties.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ezvcard.io.scribe.VCardPropertyScribe |
|---|
VCardPropertyScribe.DateWriter, VCardPropertyScribe.Result<T extends VCardProperty>, VCardPropertyScribe.SemiStructuredIterator, VCardPropertyScribe.Splitter, VCardPropertyScribe.StructuredIterator |
| Field Summary |
|---|
| Fields inherited from class ezvcard.io.scribe.SimplePropertyScribe |
|---|
dataType |
| Fields inherited from class ezvcard.io.scribe.VCardPropertyScribe |
|---|
clazz, propertyName, qname |
| Constructor Summary | |
|---|---|
LabelScribe()
|
|
| Method Summary | |
|---|---|
protected Label |
_parseHtml(HCardElement element,
List<String> warnings)
Unmarshals the property from an hCard (HTML document). |
protected Label |
_parseValue(String value)
Parses the property from a string. |
| Methods inherited from class ezvcard.io.scribe.StringPropertyScribe |
|---|
_writeValue |
| Methods inherited from class ezvcard.io.scribe.SimplePropertyScribe |
|---|
_defaultDataType, _parseJson, _parseText, _parseXml, _writeJson, _writeText, _writeXml |
| 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 |
| Constructor Detail |
|---|
public LabelScribe()
| Method Detail |
|---|
protected Label _parseValue(String value)
SimplePropertyScribe
_parseValue in class SimplePropertyScribe<Label>value - the property value
protected Label _parseHtml(HCardElement element,
List<String> warnings)
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.VCardVersion, ezvcard.parameter.VCardParameters, java.util.List method.
_parseHtml in class SimplePropertyScribe<Label>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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||