Client system services

Client system services are APIs available on the client that you can call programatically or as an event handler or method argument through XML. You can call system services as event handlers or method arguments similar to calling an MCO; however, system services do not require the "mco://" prefix. 

The following example calls display service from XML:

onCommand="DisplayService.loadStyleSheet( 'mySheet.xss' )"

The following example uses XPathService as an argument:

onCommand="mco:myMco.do( XPathService.evaluateAsString( '/text()' ) )"

Services available on the client are registered with their class names as their registered name in the SystemContainer.  See Javadoc for information on each service.

The following table provides a brief description of the client system services: 

ServiceDescription
DisplayServiceProvides component sizes and locations, image capturing and other display information and manipulation.
PrintServiceProvides printing support.
NetServiceProvides network-related methods.
TypeConversionServiceProvides the ability to convert objects from one type to another.
JavascriptServiceProvides the ability to call Javascript defined in the HTML that houses the Nexaweb applet.
SoundServiceProvides sound-playing method.
XPathServiceProvides XPath calls that can be made declaratively.
DataServiceProvides data binding methods, available with the data plugin.
New systemLevel objects can be created by adding the to the system container, available through the ClientSession interface.