Below is the xml I have to work with:\[code\]<watermarks identifier="X" hostname="X"> <watermark type="XX" value="http://stackoverflow.com/questions/12431138/1234"/> <watermark type="YY" value="http://stackoverflow.com/questions/12431138/1234" /></watermarks>\[/code\]I just want to get a list of Watermark objects using JAXB without creating a new Watermarks class. Is it possible or should I have to create a Watermarks class which contains a list of Watermark objects ?Thanks.