jaxb2
How do I separate the <xsd:choice/> sub-elements into individual Collection properties using JAXB?
I have the following XSD fragment that is from a Vendor, I can\'t change the way it is specified: <xsd:element name=\"navmap\">[详细]
2023-03-27 06:40 分类:问答JAXB: Qualified attributes disables default namespace xmlns=""?
When I 开发者_开发问答use @XmlSchema(attributeFormDefault = XmlNsForm.QUALIFIED, ...) or@XmlAttribute(namespace = \"sample.com/y\", ...)[详细]
2023-03-23 01:39 分类:问答Why JAXB (jaxb2-maven-plugin) skips this attribute?
jaxb2-maven-plugin 1.3skips an attribute from an object. I cannot modify the XSD. In the XSD (fragment):[详细]
2023-03-23 01:27 分类:问答Can/Should I list inherited properties for a JAXB mapped bean in the "propOrder" annotation?
I have a bunch of JAXB annotated classes that have a field in common, so I moved that field to a super class, like this[详细]
2023-03-22 10:26 分类:问答Unmarshalling a Socket's InputStream closes the Socket?
I have a server-client architecture where the client sends an XML to the server who reads it and generates a PDF out of it and sends that back to the client.[详细]
2023-03-22 04:59 分类:问答JAXB - Extra Characters are added after the closing of the root tag
When I marshal Java objects into XML, some extra characters are added after the closing of the root tag.[详细]
2023-03-21 20:12 分类:问答JAXB2 Basics Mergeable plugin: Setting a custom Merge Strategy
I have successfully activated the JAXB2 Basics \'Mergeable\' plugin in an ant script as follows: <target name=\"generate-sources\" depends=\"clean\">[详细]
2023-03-18 21:41 分类:问答JAXB Binding - defined the return type of List<T> methods
I have this schema and i\'m using JAXB to generate java stub files. <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-03-18 05:49 分类:问答Is there a way to map the value of a node when the node also has inner nodes?
I\'m currently using JAXB annotations, which work great for most cases.However, I\'ve come across something I can\'t figure out how to process/create annotations for.I have the following XML:[详细]
2023-03-15 23:35 分类:问答Jaxb: How do I generate ObjectFactory class?
I\'m using Java 6, JaxB 2 and SpringSource Tool Suite (same as Eclipse).I had a couple of Java classes I wrote, from which I used JaxB to generate an XML schema.However, I\'m noticing in order to use[详细]
2023-03-15 03:50 分类:问答