if (type == null) {
throw new DatabindingException("Couldn't find type for " + value.getClass()
+ " for property " + name);
}
type.writeObject(value, cwriter, context);
cwriter.close();
} else if (inf.isNillable(name)) {
cwriter = getWriter(writer, name, type);