ezvcard.io.scribe
Class PhotoScribe

java.lang.Object
  extended by ezvcard.io.scribe.VCardPropertyScribe<T>
      extended by ezvcard.io.scribe.BinaryPropertyScribe<T,ImageType>
          extended by ezvcard.io.scribe.ImagePropertyScribe<Photo>
              extended by ezvcard.io.scribe.PhotoScribe

public class PhotoScribe
extends ImagePropertyScribe<Photo>

Marshals Photo properties.

Author:
Michael Angstadt

Nested Class Summary
 
Nested classes/interfaces inherited from class ezvcard.io.scribe.VCardPropertyScribe
VCardPropertyScribe.DateWriter, VCardPropertyScribe.Result<T extends VCardProperty>, VCardPropertyScribe.SemiStructuredIterator, VCardPropertyScribe.Splitter, VCardPropertyScribe.StructuredIterator
 
Field Summary
 
Fields inherited from class ezvcard.io.scribe.VCardPropertyScribe
clazz, propertyName, qname
 
Constructor Summary
PhotoScribe()
           
 
Method Summary
protected  Photo _newInstance(byte[] data, ImageType contentType)
           
protected  Photo _newInstance(String uri, ImageType contentType)
           
 
Methods inherited from class ezvcard.io.scribe.ImagePropertyScribe
_buildMediaTypeObj, _buildTypeObj, _parseHtml
 
Methods inherited from class ezvcard.io.scribe.BinaryPropertyScribe
_dataType, _defaultDataType, _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
 

Constructor Detail

PhotoScribe

public PhotoScribe()
Method Detail

_newInstance

protected Photo _newInstance(String uri,
                             ImageType contentType)
Specified by:
_newInstance in class BinaryPropertyScribe<Photo,ImageType>

_newInstance

protected Photo _newInstance(byte[] data,
                             ImageType contentType)
Specified by:
_newInstance in class BinaryPropertyScribe<Photo,ImageType>


Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.