ezvcard.io.scribe
Class StringPropertyScribe<T extends TextProperty>
java.lang.Object
ezvcard.io.scribe.VCardPropertyScribe<T>
ezvcard.io.scribe.SimplePropertyScribe<T>
ezvcard.io.scribe.StringPropertyScribe<T>
- Type Parameters:
T
- the property class
- Direct Known Subclasses:
- ClassificationScribe, EmailScribe, ExpertiseScribe, FormattedNameScribe, HobbyScribe, InterestScribe, KindScribe, LabelScribe, LanguageScribe, MailerScribe, MemberScribe, NoteScribe, OrgDirectoryScribe, ProductIdScribe, ProfileScribe, RoleScribe, SortStringScribe, SourceDisplayTextScribe, TitleScribe, UriPropertyScribe
public abstract class StringPropertyScribe<T extends TextProperty>
- extends SimplePropertyScribe<T>
Marshals properties that contain a single string value (like text or a URI).
- Author:
- Michael Angstadt
Method Summary |
protected String |
_writeValue(T property)
Writes the property value to a string. |
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 |
StringPropertyScribe
public StringPropertyScribe(Class<T> clazz,
String propertyName)
StringPropertyScribe
public StringPropertyScribe(Class<T> clazz,
String propertyName,
VCardDataType dataType)
_writeValue
protected String _writeValue(T property)
- Description copied from class:
SimplePropertyScribe
- Writes the property value to a string.
- Specified by:
_writeValue
in class SimplePropertyScribe<T extends TextProperty>
- Parameters:
property
- the property to write
- Returns:
- the property value
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.