摘要 |
<p>Embodiments of the present invention disclose a method for encapsulating Unstructured Operation Markup Language (UOML) into an Application Programming Interface (API), including: mapping an UOML object to a composite data type of a programming language; mapping an UOML operation to an API function prototype in the programming language, wherein the object of the UOML operation is mapped to a parameter of the API function prototype; and converting, within the API function in the programming language according to the mapping relations created in Steps A and B, the operation corresponding to the API function into an UOML operation, and converting the return result of the operation into a return value of a type in the programming language. In this way, API functions in different programming languages, which correspond to the UOML, can be implemented, and the application developers of the programming languages may invoke suitable API functions directly to implement applications on the docbase management system, thus the development efficiency can be improved.</p> |