public class PhotoScribe extends ImagePropertyScribe<Photo>
Photo
properties.VCardPropertyScribe.DateWriter
clazz, 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, parseContentTypeFromValueAndParameters
dataType, date, date, defaultDataType, escape, getPropertyClass, getPropertyName, getQName, handlePrefParam, missingXmlElements, missingXmlElements, parseHtml, parseJson, parseText, parseXml, prepareParameters, writeJson, writeText, writeXml
public 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.