moxy « jaxb « Java XML Q&A

Home
Java XML Q&A
1.convert
2.Development
3.document
4.dom
5.dom4j
6.dtd
7.element
8.jaxb
9.jaxp
10.jdom
11.jsoup
12.namespace
13.Node
14.parse
15.parser
16.pdf
17.sax
18.schema
19.stax
20.tag
21.transform
22.Validation
23.xalan
24.xmlbeans
25.xpath
26.xsd
27.xslt
28.xstream
Java XML Q&A » jaxb » moxy 

1. JAXB 2.x: How to unmarshal an XML without knowing the target class?    stackoverflow.com

If there is a way, how to do this, I'd like to know the most elegant one. Here is the question: - Let's assume you have an abstract class Z - You have two ...

2. Staying DRY with JAXB    stackoverflow.com

I'm developing a number of Java classes that must serialize to XML in the following format:

<foo value="123"/>

<!-- or this -->
<bar value="abc"/>

<!-- or this -->
<baz value="true"/>
In the beginning, Foo.java looked something like ...

3. With MOXy and XPath, is it possible to unmarshal a list of attributes?    stackoverflow.com

Edit: here's how I'm loading the XML document, as I used it in Blaise's answer. I'm loading it like this because I want to work with a node, not the ...

4. moxy jaxb @XmlID and inheritance    stackoverflow.com

I am having the following hierarchy:

public class Small {
    private String xmlId;

    @XmlID
    @XmlAttribute
    public String getXmlId() {
  ...

5. Another Jaxb binding question    stackoverflow.com

I think I have finally narrowed down one of my problems. I am using Jaxb w/Moxy implementation. I am using Xpath notation in my binding file. I am not ...

6. With MOXy and XPath, is it possible to unmarshal two lists of attributes?    stackoverflow.com

Note, this is not a duplicate of another question I asked, "With MOXy and XPath, is it possible to unmarshal a list of attributes?" It's similar, but not the ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.