You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Roberto Tyley <Ro...@reuters.com> on 2003/11/21 13:30:48 UTC

Using Java Reflection as the schema description

The opening preamble on JaxMe says something on the lines of "...
Java/XML binding compiler takes as input a schema description (in most
cases an XML schema, but it may be a DTD, a RelaxNG schema, a Java class
inspected via reflection..."  - I'd like to know if the functionality to
use a set of Java classes inspected via reflection is available in the
current 0.2 release - the manual/examples don't seem to refer to it, and
a quick search through the source code for 'reflect' yields only a
couple of classes, like
'org.apache.ws.jaxme.generator.util.ReflectResolver' which don't appear
big enough to do that sort of work!

 

Could anyone provide a code snippet of how to produce a SchemaReader in
this way?

 

Thanks,

Roberto

 



--------------------------------------------------------------- -
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


Re: Using Java Reflection as the schema description

Posted by Jochen Wiedmann <jo...@ispsoft.de>.
Roberto Tyley wrote:

> Could anyone provide a code snippet of how to produce a SchemaReader in 
> this way?

See

     http://marc.theaimsgroup.com/?l=jaxme-dev&m=106931176112646&w=2


Jochen



---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org