metaonly module xdc.rov.ViewXml

This module sits on top of the ROV core to convert ROV views into XML. This is useful for test scripts and command-line based ROV tools

XDCscript usage meta-domain sourced in xdc/rov/ViewXml.xdc
var ViewXml = xdc.useModule('xdc.rov.ViewXml');
module-wide functions
    ViewXml.retrieveView// Retrieves the view in XML form for the given module and tab(String modName, String tabName) returns String
 
 
ViewXml.listModules()  // module-wide

Returns the list of modules in XML form

XDCscript usage meta-domain
ViewXml.listModules() returns String
 
 
ViewXml.processCommand()  // module-wide

This API allows the client to interact with the ROV core and retrieve ROV views

XDCscript usage meta-domain
ViewXml.processCommand(String cmd) returns String
 
DETAILS
It takes String commands of the following forms. 1. "lm" - List Modules. This returns an XML list of all of the modules in the executable's configuration and the views they support. 2. "m <module name> <tab name>" - Retrieve tab view for module. 3. "cc" - Clear cache. This command clears the ROV core's cache of views. This command should be sent whenever the target state changes.
 
ViewXml.retrieveView()  // module-wide

Retrieves the view in XML form for the given module and tab

XDCscript usage meta-domain
ViewXml.retrieveView(String modName, String tabName) returns String
 
generated on Sat, 26 Jan 2013 00:30:55 GMT