public class EmailScribe extends StringPropertyScribe<Email>
Email
properties.VCardPropertyScribe.DateWriter, VCardPropertyScribe.Result<T extends VCardProperty>, VCardPropertyScribe.SemiStructuredIterator, VCardPropertyScribe.Splitter, VCardPropertyScribe.StructuredIterator
dataType
clazz, propertyName, qname
Constructor and Description |
---|
EmailScribe() |
Modifier and Type | Method and Description |
---|---|
protected Email |
_parseValue(java.lang.String value)
Parses the property from a string.
|
protected void |
_prepareParameters(Email property,
VCardParameters copy,
VCardVersion version,
VCard vcard)
Sanitizes a property's parameters before the property is written.
|
_writeValue
_defaultDataType, _parseText, _parseXml, _writeText, _writeXml
_dataType, dataType, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handlePrefParam, list, list, list, missingXmlElements, missingXmlElements, parseText, parseXml, prepareParameters, semistructured, semistructured, splitter, structured, structured, unescape, writeText, writeXml
protected void _prepareParameters(Email property, VCardParameters copy, VCardVersion version, VCard vcard)
VCardPropertyScribe
Sanitizes a property's parameters before the property is written.
This method should be overridden by child classes that wish to tweak the property's parameters before the property is written. The default implementation of this method does nothing.
_prepareParameters
in class VCardPropertyScribe<Email>
property
- the propertycopy
- the list of parameters to make modifications to (it is a copy
of the property's parameters)version
- the version of the vCard that is being generatedvcard
- the vCard that the property belongs toprotected Email _parseValue(java.lang.String value)
SimplePropertyScribe
_parseValue
in class SimplePropertyScribe<Email>
value
- the property valueThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.