public class JCardDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<VCard>
| Constructor and Description |
|---|
JCardDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
VCard |
deserialize(JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
ScribeIndex |
getScribeIndex()
Gets the scribe index.
|
void |
registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
void |
setScribeIndex(ScribeIndex index)
Sets the scribe index.
|
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic JCardDeserializer()
public VCard deserialize(JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) throws IOException, JsonProcessingException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<VCard>IOExceptionJsonProcessingExceptionpublic void registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe. This is the same as calling:
getScribeIndex().register(scribe)
scribe - the scribe to registerpublic ScribeIndex getScribeIndex()
public void setScribeIndex(ScribeIndex index)
index - the scribe indexCopyright © 2012–2018 Michael Angstadt. All rights reserved.