-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> |
generator |
Object |
id |
protected boolean |
idWritten |
-
Constructor Summary
Constructors
Constructor and Description |
WritableObjectId(com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
writeAsId
public boolean writeAsId(com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider,
ObjectIdWriter w)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
writeAsField
public void writeAsField(com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider,
ObjectIdWriter w)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
Method called to output Object Id as specified.
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
Copyright © 2014 FasterXML. All Rights Reserved.