xjc
Add/Override behavior on Jaxb generated classes by extending them
I have a web server responding with xml data and a client consuming it. Both share the same domain code. One of the domain objects looks like this:[详细]
2023-04-07 06:05 分类:问答help please: xjc throws "Two declarations cause a collision in the ObjectFactory class"
Take the following over simplified XSD: <?xml version=\"1.0\" encoding=\"UTF-8\"?> <xs:schema targetNamespace=\"com.acme\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">[详细]
2023-04-06 16:41 分类:问答What is JAXB generated package-info.java
I\'m trying to find some information on what the package-info.java file generated by the JAXB xjc commandline app actually does. All that is in the file is[详细]
2023-04-06 05:33 分类:问答JAXB XJC - XPath evaluation results in empty target node?
I\'ve got the following simple XSD document (foo.xsd): <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-04-01 11:48 分类:问答How to use xjc generated classes with JDO
we have a collection of POJOs created by xjc that we need to be able to persist through JDO.How would you go about applying JDO annotations to the generate开发者_JS百科d classes?[详细]
2023-04-01 03:05 分类:问答XJC Generating Integer Instead of int
The following schema should be generating two primitive int fields in a Value class, but instead generates a primitive int for the element and java.lang.Integer for the attribute.[详细]
2023-04-01 01:37 分类:问答Omitting @XmlSeeAlso from XJC output
Currently I\'m busy on a project using XML messaging. I have one general schema, with abstract types and some reusable type definitions and elements. For each sort of message I\'m dealing with, there\[详细]
2023-03-29 05:00 分类:问答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 分类:问答How to override the default name for in JAXB using a external binding file?
I have an element that looks something like this. <xsd:element name=\"container\"> <xsd:complexType>[详细]
2023-03-26 08:12 分类:问答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 分类:问答