How to serialize Java 2D Shape objects as XML? How to serialize Java 2D Shape objects as XML? xml xml