public class KeyScribe extends BinaryPropertyScribe<Key,KeyType>
Key
properties.VCardPropertyScribe.DateWriter, VCardPropertyScribe.Result<T extends VCardProperty>, VCardPropertyScribe.SemiStructuredIterator, VCardPropertyScribe.Splitter, VCardPropertyScribe.StructuredIterator
clazz, propertyName, qname
Constructor and Description |
---|
KeyScribe() |
Modifier and Type | Method and Description |
---|---|
protected KeyType |
_buildMediaTypeObj(java.lang.String mediaType)
Builds a
MediaTypeParameter object based on the information in
the MEDIATYPE parameter or data URI of 4.0 vCards. |
protected KeyType |
_buildTypeObj(java.lang.String type)
Builds a
MediaTypeParameter object based on the value of the TYPE
parameter in 2.1/3.0 vCards. |
protected Key |
_newInstance(byte[] data,
KeyType contentType) |
protected Key |
_newInstance(java.lang.String uri,
KeyType contentType) |
_dataType, _defaultDataType, _parseText, _parseXml, _prepareParameters, _writeText, _writeXml, cannotUnmarshalValue, parseContentType
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 KeyType _buildTypeObj(java.lang.String type)
BinaryPropertyScribe
MediaTypeParameter
object based on the value of the TYPE
parameter in 2.1/3.0 vCards._buildTypeObj
in class BinaryPropertyScribe<Key,KeyType>
type
- the TYPE valueprotected KeyType _buildMediaTypeObj(java.lang.String mediaType)
BinaryPropertyScribe
MediaTypeParameter
object based on the information in
the MEDIATYPE parameter or data URI of 4.0 vCards._buildMediaTypeObj
in class BinaryPropertyScribe<Key,KeyType>
mediaType
- the media type string (e.g. "image/jpeg")protected Key _newInstance(java.lang.String uri, KeyType contentType)
_newInstance
in class BinaryPropertyScribe<Key,KeyType>
protected Key _newInstance(byte[] data, KeyType contentType)
_newInstance
in class BinaryPropertyScribe<Key,KeyType>
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.