/** * Allow writing of collections when the type of the collection object is known via * an {@link java.lang.reflect.Type} object. * @param globalContext the context * @param value the object to write. * @param reflectType the type to use in writing the object. * @return */ public static AegisType getWriteTypeStandalone(AegisContext globalContext, Object value, java.lang.reflect.Type reflectType) { if (reflectType == null) { return getWriteTypeStandalone(globalContext, value, (AegisType)null); } return globalContext.getTypeMapping().getTypeCreator().createType(reflectType); }
/** * Allow writing of collections when the type of the collection object is known via * an {@link java.lang.reflect.Type} object. * @param globalContext the context * @param value the object to write. * @param reflectType the type to use in writing the object. * @return */ public static AegisType getWriteTypeStandalone(AegisContext globalContext, Object value, java.lang.reflect.Type reflectType) { if (reflectType == null) { return getWriteTypeStandalone(globalContext, value, (AegisType)null); } return globalContext.getTypeMapping().getTypeCreator().createType(reflectType); }