public static GeometryJsonUnmarshaller getInstance() { if (instance == null) instance = new GeometryJsonUnmarshaller(); return instance; } }
textDetection.setGeometry(GeometryJsonUnmarshaller.getInstance().unmarshall(context));
.unmarshall(context)); } else if (name.equals("Geometry")) { textDetection.setGeometry(GeometryJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue();
public static GeometryJsonUnmarshaller getInstance() { if (instance == null) instance = new GeometryJsonUnmarshaller(); return instance; } }