|
Hello, I read the article and found that possibilities of Castor are a little underestimated. In our project we use the Castor generic unmarshaller allowing to unmarshall an XML stream into an Object that will be casted later on by the application. At unmarshalling time we do not know the package or object type that will be unmarshalled, you can supply a mapping file to Castor for doing the necessary mappings. Also we do target generation in certain packages based on namespaces, you have then to generate your packages one by one and have a correctly adapted castorbuilder.properties file in order to resolve links between packages/namespaces in the XSD's. |