Customize namespace prefix when marshalling with Jaxb
I was looking a long time on how to set the prefix for a namespace when marshalling an object to xml using JAXB. If you don't do anything JAXB will write random namespace prefixes (like ns2, ns3).?...
View ArticleUsing Hamcrest Matchers.everyItem
For my Junit test I wanted to make use of Matchers.everyItem so I could easily check if every item of a list machtes a certain matcher. Resulting in a small line of code which is nice to read. The...
View Article
More Pages to Explore .....