public class PhotoScribe extends ImagePropertyScribe<Photo>
Photo properties.VCardPropertyScribe.DateWriterclazz, propertyName, qname| Constructor and Description |
|---|
PhotoScribe() |
| Modifier and Type | Method and Description |
|---|---|
protected Photo |
_newInstance(byte[] data,
ImageType contentType)
Creates a new instance of the property object from binary data.
|
protected Photo |
_newInstance(String uri,
ImageType contentType)
Creates a new instance of the property object from a URI.
|
_mediaTypeFromFileExtension, _mediaTypeFromMediaTypeParameter, _mediaTypeFromTypeParameter, _parseHtml_dataType, _defaultDataType, _parseJson, _parseText, _parseXml, _prepareParameters, _writeJson, _writeText, _writeXml, cannotUnmarshalValue, getFileExtension, parse, parseContentTypeFromParameters, parseContentTypeFromValueAndParametersdataType, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handlePrefParam, missingXmlElements, missingXmlElements, parseHtml, parseJson, parseText, parseXml, prepareParameters, writeJson, writeText, writeXmlpublic PhotoScribe()
protected Photo _newInstance(String uri, ImageType contentType)
BinaryPropertyScribe_newInstance in class BinaryPropertyScribe<Photo,ImageType>uri - the URIcontentType - the content type or null if unknownprotected Photo _newInstance(byte[] data, ImageType contentType)
BinaryPropertyScribe_newInstance in class BinaryPropertyScribe<Photo,ImageType>data - the datacontentType - the content type or null if unknownCopyright © 2012–2023 Michael Angstadt. All rights reserved.