# Mapping of `<xs:element />` to JAXBElement

Sometimes XJC binds an element declaration to `JAXBElement`. Sometimes XJC binds an element declaration to a Java class. What makes this difference?

TODO: Copy from http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html