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

Configuration settings 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

Configuration settings
ViewXml.listModules() returns String
 
 
ViewXml.processCommand()  // module-wide

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

Configuration settings
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

Configuration settings
ViewXml.retrieveView(String modName, String tabName) returns String
 
generated on Wed, 09 Aug 2017 16:38:11 GMT