Thanks Luciano.  I am not sure why I couldn't find these samples amongst
the src download.

Frank supplied the clue to get me past this problem.

sgg 

-----Original Message-----
From: Luciano Resende [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 4:24 PM
To: [email protected]
Subject: Re: SDO Newbie question

You could look into the following SDO example to help with that [1] .
Looks like what you are looking for is in the sample base utility
class [2].

[1]
https://svn.apache.org/repos/asf/tuscany/java/sdo/sample/src/main/java/o
rg/apache/tuscany/samples/sdo/basic/ReadPurchaseOrder.java
[2]
https://svn.apache.org/repos/asf/tuscany/java/sdo/sample/src/main/java/o
rg/apache/tuscany/samples/sdo/SampleBase.java


On Tue, Nov 4, 2008 at 1:11 PM,  <[EMAIL PROTECTED]> wrote:
> Hi guys:
> Quick question about using the classes generated by XSD2JavaGenerator.
>
> I have used this tool to generate a set of Java interfaces and impl
> classes corresponding to an XSD.  All seems fine.
>
> What I am missing is the pattern that guides me how to deserialize an
> XML document (from the file system or any other XMLReader) into a
graph
> of Java instances of the type(s) generated from my XSD by the
> XSD2JavaGenerator.
>
> The factory method generated did not have any method that looked like
> "readFromXML(XMLReader foo)" or any equivalent deserialization
> mechanism.
>
> Any help, sample code snippets etc. would be appreciated.
>
> sgg
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to