public static class JsonMappingException.Reference
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Reference(java.lang.Object from) |
Reference(java.lang.Object from,
int index) |
Reference(java.lang.Object from,
java.lang.String fieldName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getFieldName() |
java.lang.Object |
getFrom()
Object through which reference was resolved.
|
int |
getIndex() |
java.lang.String |
toString() |
public Reference(java.lang.Object from)
public Reference(java.lang.Object from, java.lang.String fieldName)
public Reference(java.lang.Object from, int index)
public java.lang.Object getFrom()
Note that this value must be `transient` to allow serializability (as often such Object is NOT serializable; or, in case of `Class`, may not available at the point of deserialization). As such will return `null` if instance has been passed using JDK serialization.
public java.lang.String getFieldName()
public int getIndex()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"