What type of list? A java.util.List? Then yes, and one way is to look into using JAXB for this.