发明名称 Markup Language Integration at Runtime
摘要 Methods and apparatus for marshalling markup language objects into programming language objects in a scripting language runtime environment. A markup language integration method may be implemented in scripting runtime environments that allows the use of simple and complex markup language structures in scripts. At runtime of a script, only classes for the schema structures that are referenced by the script are generated. Document Object Model (DOM) objects may be incrementally constructed according to the schema structures referenced by the script, and bytecode may be generated corresponding to the schema structures according to class metadata for the schema structures. The bytecode may be dynamically linked in the runtime environment. The classes defined by the schema act as wrappers for the DOM objects; when an object is updated by the script, a corresponding DOM object is also updated. Type checking may be applied to catch script errors during development.
申请公布号 US2014344781(A1) 申请公布日期 2014.11.20
申请号 US201313896964 申请日期 2013.05.17
申请人 Oracle International Corporation 发明人 Andres Ariel Morelli;Bergamaschi Ezequiel Mauro;Veiga Paulo Gustavo;Battistoni Gustavo
分类号 G06F9/455 主分类号 G06F9/455
代理机构 代理人
主权项 1. A system comprising: one or more processors; and a memory storing program instructions, wherein the program instructions are executable by the at least one of the one or more processors to implement: a script processing module configured to: process a plurality of instructions in a script, wherein the instructions reference one or more classes defined by respective markup language structures in a markup language schema that includes markup language structures for a plurality of classes; anddetermine that a current instruction being processed indicates that an instance of one of the one or more classes that is referenced by the current instruction is to be created; anda class object module configured to, in response to said determining: obtain class metadata for the class referenced by the instruction;generate an instance of the class as a class object according to the class metadata for the class; andload the class object into a runtime environment.
地址 Redwood City CA US