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