ezvcard.io.scribe
Class KeyScribe
java.lang.Object
ezvcard.io.scribe.VCardPropertyScribe<T>
ezvcard.io.scribe.BinaryPropertyScribe<Key,KeyType>
ezvcard.io.scribe.KeyScribe
public class KeyScribe
- extends BinaryPropertyScribe<Key,KeyType>
Marshals Key
properties.
- Author:
- Michael Angstadt
Methods inherited from class ezvcard.io.scribe.BinaryPropertyScribe |
_dataType, _defaultDataType, _parseHtml, _parseJson, _parseText, _parseXml, _prepareParameters, _writeJson, _writeText, _writeXml, cannotUnmarshalValue, parseContentType |
Methods inherited from class ezvcard.io.scribe.VCardPropertyScribe |
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 |
KeyScribe
public KeyScribe()
_buildTypeObj
protected KeyType _buildTypeObj(String type)
- Description copied from class:
BinaryPropertyScribe
- Builds a
MediaTypeParameter
object based on the value of the TYPE
parameter in 2.1/3.0 vCards.
- Specified by:
_buildTypeObj
in class BinaryPropertyScribe<Key,KeyType>
- Parameters:
type
- the TYPE value
- Returns:
- the parameter object
_buildMediaTypeObj
protected KeyType _buildMediaTypeObj(String mediaType)
- Description copied from class:
BinaryPropertyScribe
- Builds a
MediaTypeParameter
object based on the information in
the MEDIATYPE parameter or data URI of 4.0 vCards.
- Specified by:
_buildMediaTypeObj
in class BinaryPropertyScribe<Key,KeyType>
- Parameters:
mediaType
- the media type string (e.g. "image/jpeg")
- Returns:
- the parameter object
_newInstance
protected Key _newInstance(String uri,
KeyType contentType)
- Specified by:
_newInstance
in class BinaryPropertyScribe<Key,KeyType>
_newInstance
protected Key _newInstance(byte[] data,
KeyType contentType)
- Specified by:
_newInstance
in class BinaryPropertyScribe<Key,KeyType>
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.