Attributes | Name and Description |
---|---|
|
caplin.presenter.component.PresenterComponentFactory()
|
Attributes | Name and Description |
---|---|
<static>
|
caplin.presenter.component.PresenterComponent
getViewerComponentFromXml(String sXml)
Allows instances of caplin.presenter.component.PresenterComponent to be constructed using XML. |
►
caplin.presenter.component.PresenterComponentFactory()
►
<static>
caplin.presenter.component.PresenterComponent
getViewerComponentFromXml(String sXml)
Allows instances of caplin.presenter.component.PresenterComponent to be constructed using XML.
Returns a Caplin component (implementing caplin.component.Component) that contains an instance of the caplin.presenter.PresentationModel specified within the XML snippet, and bound to the HTML template specified within the XML snippet. For example:
<presenter templateId="fx_ticket" presentationModel="caplinb.fxticket.FxTicket"/>
String | sXml | An XML representation of the presenter component, containing the template name and presentation model name to use. |