incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Haywood (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ISIS-181) A (low-level, technical) domain Service (in domain-libs) to allow domain object entities to perform XSLT transformations.
Date Mon, 06 Feb 2012 20:26:02 GMT
A (low-level, technical) domain Service (in domain-libs) to allow domain object entities to
perform XSLT transformations.
-------------------------------------------------------------------------------------------------------------------------

                 Key: ISIS-181
                 URL: https://issues.apache.org/jira/browse/ISIS-181
             Project: Isis
          Issue Type: New Feature
          Components: Domain: Services
            Reporter: Dan Haywood
            Priority: Minor


Isis provides the ability to create XML snapshots of domain object graphs, eg:

 XmlSnapshot snapshot = new XmlSnapshot(customer); // where customer is a reference to an
ObjectAdapter
 Element customerAsXml = snapshot.toXml(); // returns customer's fields, titles of simple
references, number of items in collections
 snapshot.include("placeOfBirth"); // navigates to another object represented by simple reference
"placeOfBirth"
 snapshot.include("orders/product"); // navigates to all Orders of Customer, and from them
for their Products

This service is to allow that XML snapshot to be converted into other formats (eg as might
be used as an input to services that generate documents, eg ISIS-173, ISIS-177, ISIS-178)
 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message