List/Grid Tag Archives: XML

Applying a Namespace During JAXB Unmarshal
For some an XML schema is a strict set of rules for how the XML document must be structured. But for others it is a general guideline to indicate what the XML should look like. This ...

Android dynamic and XML layout
Android activity contains various user interface components e.g Button, Radio button, List, Text field etc. The user interface component can be arranged/attached with the activity ...

Spring Profiles in XML Config Files
My last blog was very simple as it covered my painless upgrade from Spring 3.0.x to Spring 3.1.x and I finished by mentioning that you can upgrade your Spring schemas to 3.1 to allow ...

Testing Spring & Hibernate Without XML
I’m very keen on the improvements in Spring 3 that eventually let you move away from XML into plain Java configuration with proper support from IDE and compiler. It doesn’t change ...

JAXB and Root Elements
@XmlRootElement is an annotation that people are used to using with JAXB (JSR-222). It’s purpose is to uniquely associate a root element with a class. Since ...

EclipseLink MOXy as a JAXB provider
EclipseLink MOXy is a JAXB provider and is a compelling alternative to the default JAXB provider built into JDK. First a simple test to marshal a Java object to XML: This is the model: @XmlRootElement(name='MemberDetailsRequest', ...

RichText editor component for SWT based applications
This article will go through the task of implementing our own RichText editor component with SWT. I faced the need for such a visual component when developing a desktop based application ...

Approaches to XML – Part 2 – What about SAX?
Part 1 introduced the idea that there are different ways to approach XML parsing and highlighted the point that XML is NOT A STRING; rather it’s an object oriented document model ...

Approaches to XML – Part 1 – XML is not a String…
XML has been around a long time: from memory, I’d guess that it’s about 12-14 years old by now; it’s a mature product with, in computing terms, a long history. So, is there anything ...

Approaches to XML – Part 4 – XMLBeans
If you remember from Part 1, Part 2 and Part 3, I’m covering different approaches to parsing XML messages using the outrageously corny scenario of Pete’s Perfect ...

