[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] DoorsOauthSample and processAsJavaObjects

I'm working through the code in DoorOauthSample, and find that the code to de-serialize an OslcQueryResult as a Java Objects is commented-out:

if (response != null) {
	//De-serialize it as a Java object
	if (asJavaObjects) {
	   //Requirement req = response.getEntity(Requirement.class);
	   //printRequirementInfo(req);   //print a few attributes
	} else {
	  //Just print the raw RDF/XML (or process the XML as desired)

Are we not able to convert OSLC entities into regular objects? What hinders us from doing so?



[Perl] combines all the worst aspects of C and Lisp: a billion different
sublanguages in one monolithic executable. It combines the power of C with
the readability of PostScript."  - Jamie Zawinski
*      Robert Kerr  SSPS Developer and CUBIT Support Manager         *
*      rakerr@xxxxxxxxxx          |    PO Box 5800,  MS 0125         *
*      Phone: (505) 844-8606      |    Sandia National Labs          *
*       Fax: (505) 844-2018       |  Albuquerque, NM 87185-0125      *