Top "Jaxb" questions

Java Architecture for XML Binding is the Java standard for working with XML as domain objects.

Applying external JAXB binding file to schema elements imported from WSDL

The XPath expression in my external binding files can't target the elements in my XML schemas which are imported into …

jaxb jax-ws xjc wsimport
How to write an external binding file for xjc?

The documentation of JAXB xjc says: -b Specify one or more external binding files to process. (Each binding file must …

java xml jaxb xjc
JAXB unmarshalling ignoring namespace turns element attributes into null

I'm trying to use JAXB to unmarshal an xml file into objects but have come across a few difficulties. The …

java namespaces jaxb attributes jdk1.5
JAXB @XmlAttribute @XmlValue real example

I'm new to JAXB and have troubles with conversion from XML to a Java class instance. I have the following …

java jaxb xml-binding
Why can't JAXB find my jaxb.index when running inside Apache Felix?

It's right there, in the package that it should be indexing. Still, when I call JAXBContext jc = JAXBContext.newInstance("my.…

java jaxb osgi apache-felix
Is it possible to customize the namespace prefix that JAXB uses when marshalling to a String?

For example, I've got a simple schema which imports another schema. The second schema (urn:just:attributes, just-attributes.xsd) just …

xml-serialization jaxb java-metro-framework jaxb2
How to generate a Java class which implements Serializable interface from xsd using JAXB?

I would like to introduce caching into an existing Spring project which uses JAXB to expose WebServices. Caching will be …

java xsd jaxb xjc
Maven jaxb2:xjc failing to generate code

I have added the following plugin into the Maven build in pom.xml <plugin> <groupId>org.…

maven build jaxb xjc
JAXB vs DOM and SAX

I have been using DOM for parsing my small xml docs for sometime.Afer reading about the JAXB (http://www.…

java xml performance jaxb
How can I customize serialization of a list of JAXB objects to JSON?

I'm using Jersey to create a REST web service for a server component. The JAXB-annotated object I want to serialize …

json jaxb serialization jersey jax-rs