Method and apparatus for dynamic generation of adapters
    3.
    发明授权
    Method and apparatus for dynamic generation of adapters 失效
    用于动态生成适配器的方法和装置

    公开(公告)号:US06578191B1

    公开(公告)日:2003-06-10

    申请号:US09312888

    申请日:1999-05-17

    IPC分类号: G06F944

    CPC分类号: G06F9/541 G06F8/30

    摘要: This invention provides for the implementation of dynamic “event to method” adapter class generation. Event to method adapter classes and objects are automatically and dynamically generated and wired to source and target objects as required using a runtime environments language such as the Beans Markup Language (BML). Adapter classes and objects are automatically and dynamically generated as required while the application program loads and runs. Dynamically generated classes and objects need to exist only at the time that a running application calls for the adapters use, and can be dynamically modified or exchanged in order to optimize the running application or modify application functionality.

    摘要翻译: 本发明提供了动态“事件到方法”适配器类生成的实现。 方法适配器类和对象的事件将根据需要使用运行时环境语言(如豆标记语言(BML))自动和动态生成并连接到源对象和目标对象。 适配器类和对象在应用程序加载和运行时根据需要自动和动态生成。 动态生成的类和对象仅在运行的应用程序要求适配器使用时才存在,并且可以动态修改或交换,以便优化正在运行的应用程序或修改应用程序功能。

    Method and system for supporting dynamic document content expressed in a component-level language
    4.
    发明授权
    Method and system for supporting dynamic document content expressed in a component-level language 失效
    用于支持以组件级语言表达的动态文档内容的方法和系统

    公开(公告)号:US06578192B1

    公开(公告)日:2003-06-10

    申请号:US09421376

    申请日:1999-10-20

    IPC分类号: G06F944

    摘要: This invention provides a computer-method for parsing by enabling scripts to be expressed in a language which is syntax-compatible with the document surrounding them. A document is loaded having script and non-script components. Script components are identified and delineated, and are then passed to an interpreter, which returns an object corresponding to each script component. Then, script elements in the original document are replaced with the last returned object from the interpreter. If the returned object is a suitable Document Object Model (DOM) Node, it replaces the script element in the document structure. If the object is not a DOM node, the server invokes its string conversion method to obtain a textual representation, and replaces the script element with that text. After all BML markup block elements in the document have been processed, the altered document is delivered to the client.

    摘要翻译: 本发明提供了一种用于通过使脚本以与其周围的文档语法兼容的语言来表达来解析的计算机方法。 加载了具有脚本和非脚本组件的文档。 脚本组件被识别和描绘,然后传递给解释器,该解释器返回与每个脚本组件相对应的对象。 然后,原始文档中的脚本元素将被替换为来自解释器的最后返回的对象。 如果返回的对象是一个合适的文档对象模型(DOM)节点,它将替换文档结构中的脚本元素。 如果对象不是DOM节点,则服务器调用其字符串转换方法来获取文本表示,并用该文本替换脚本元素。 在文档中的所有BML标记块元素已经被处理完毕之后,更改的文档被传递到客户端。