The recent refactor of Aegis was intended to allow this sort of thing. Keep
in mind, however, that there's no code generator.

For now, all I can recommend is that you read the source.

Start with three classes:

org.apache.cxf.aegis.AegisContext, and then the stream reader and writer in
the same package.

Aegis is a particularly bad example of internal and external classes sitting
in the same Java package.

There are also some tests with 'Standalone' in their names, they might prove
useful examples.


On Wed, Jun 18, 2008 at 5:17 AM, Mickael Istria <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> I would like to use Aegis to generate XML from objects, and vice-versa. In
> fact, I would like to use CXF instead of JaxB to do marshalling and
> unmarshalling. I want the same kind of results as explained at
> http://cwiki.apache.org/CXF20DOC/aegis-databinding.html#AegisDatabinding-Class%3C%3EXMLMappingOverview
>
> However, I just want to use the databinding, so that I want to use Aegis
> out of CXF, as a standalone "databinder".
>
> I did not find any useful information on this topic over CXF or XFire
> sites.
>
> Then, I have the classical 2 questions:
> - Is it possible?
> - If yes, can you point me a document, or give me a clue on how to do this?
>
>
> Thanks in advance
> Mickael
>
>

Reply via email to