Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.view.servlet.xml: Javadoc index of package org.scopemvc.view.servlet.xml.

Package Samples:

org.scopemvc.view.servlet.xml: Contains ServletView     , a "container" used to hold a set of Page     s that a Controller in a web application manages.  


AbstractXSLPage: A ServletView that references an XSLT URI used to transform an XML representation of the View's bound model objects. The XSLT is assumed to describe the entire view, not just a part of the overall page, even when this view is a subview or a parent of subviews. Model objects are turned to a SAX source in a concrete subclass, which is transformed with the XSLT to a SAX stream that gets fed to a SAX ContentHandler (eg an HTML serializer) that writes to an OutputStream (eg the HTTPResponse's output stream). This abstract base class does some generic XSLT handling, including caching compiled stylesheets. ...
ModelToXML: Converts a model into an XML document (as SAX events driving a ContentHandler). Uses a PropertyIDGenerator to create "path" attributes for all elements, and "id" attributes for model elements. Handles circular references using the "ID" and "IDREF" pattern. (data id='_root') (name path='name')Steve(/name) (pets path='pets') (element index='0' path='pets.0') (data id='pets.0') (name path='')Trevor(/name) (/data) (/element) (/pets) (/data)
XSLPage: A concrete AbstractXSLPage that uses Scope's ModelManager implementations to serialise its entire bound model object to an XML document. A better strategy would be to use a more intelligent view that selectively serialises relevant parts of the model object. Handles circular references using the "ID" and "IDREF" pattern.
PropertyIDGenerator: Generates IDs to identify properties during the traversal of the model containment hierarchy. Used by ModelToXML. The ids in the xml could be used as form parameters to identify properties to be populated with user input. This is used by the ID generators defined as inner classes in XSLPage .

Home | Contact Us | Privacy Policy | Terms of Service