uCosminexus Service Platform, Basic Development Guide
You can use a Java program as the function using the custom function. You can use this for processes other than those in other functions provided by uCosminexus Service Architect.
Custom function has following types:
Type of argument | java.lang.String |
Type of return value | java.lang.String |
Type of argument | java.lang.Object |
Type of return value | org.w3c.dom.NodeList |
Table 6-7 TableArgument definition contents
Contents of argument | Actual type of argument |
---|---|
Simple contents element/complex contents element | org.w3c.dom.NodeList |
Attribute | org.w3c.dom.NodeList |
any attribute | org.w3c.dom.NodeList |
anyAttribute attribute | org.w3c.dom.NodeList |
Character string type Custom function | java.lang.String |
Node list type custom function | org.w3c.dom.NodeList |
Other functions (excluding Repeat function and Select function) | java.lang.String |
This section describes the method of creating Java program invoked from Custom function. In Custom function, invoked Java program is referred as transformation function. For details on how to invoke a Java program, see "6.5.23 Invoke a Java program created by the user".
Create the transformation function by the following procedure:
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.