src/main/java/com/mxgraph/io/mxObjectCodec.java
public boolean isReference(Object obj, String attr, Object value,
			boolean isWrite)
	{
		return idrefs.contains(attr);
	}
/**
	 * Returns true if the given fieldname is to be treated as a textual
	 * reference (ID). This implementation returns true if the given fieldname
	 * is in {@link #idrefs}.
	 * 
	 * @param obj Object instance that contains the field.
	 * @param attr Fieldname of the field.
	 * @param value Value of the field.
	 * @param isWrite Boolean indicating if the field is being encoded or
	 * decoded. isWrite is true if the field is being encoded, else it is being
	 * decoded.
	 * @return Returns true if the given attribute should be handled as a
	 * reference.
	 */
Returns true if the given fieldname is to be treated as a textual
reference (ID). This implementation returns true if the given fieldname
is in  #idrefs.

@param obj Object instance that contains the field.
@param attr Fieldname of the field.
@param value Value of the field.
@param isWrite Boolean indicating if the field is being encoded or
decoded. isWrite is true if the field is being encoded, else it is being
decoded.
@return Returns true if the given attribute should be handled as a
reference.
Returns true if the given fieldname is to be treated as a textual reference ( ID ) . This implementation returns true if the given fieldname is in #idrefs . @param obj Object instance that contains the field . @param attr Fieldname of the field . @param value Value of the field . @param isWrite Boolean indicating if the field is being encoded or decoded . isWrite is true if the field is being encoded else it is being decoded . @return Returns true if the given attribute should be handled as a reference .
public boolean isReference(Object obj, String attr, Object value,
			boolean isWrite)
	{
		return idrefs.contains(attr);
	}
public boolean isReference ( Object obj , String attr , Object value , boolean isWrite ) { return idrefs . contains ( attr ) ; }
Returns true if the given fieldname is to be treated as a textual
 reference (ID).
Returns true if the given fieldname is to be treated as a textual reference ( ID ) .