Framework for code generators
    1.
    发明授权
    Framework for code generators 有权
    代码生成器框架

    公开(公告)号:US08453109B2

    公开(公告)日:2013-05-28

    申请号:US12042372

    申请日:2008-03-05

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/30 G06F8/60

    摘要: Embodiments of the invention provide a dictionary, which may be modified by a developer, that provides a mapping of the generation routine to be performed and a pointer or identifier of the generator employed for the specified generation routine. As will be appreciated, embodiments of the invention may employ a dictionary which comprises a plurality of generation routine-code generator identity data pairs. A generator routine may be, for example, associated with the generation of source code associated with a particular object class, fields, methods, method bodies, procedures, comments, subroutines and the like. By modifying a generation routine-code generator identity data pair in a generator dictionary, a developer or user is able to modify the source code (e.g., the structure and/or content of the source) which is ultimately generated by the generator.

    摘要翻译: 本发明的实施例提供了可由开发者修改的字典,其提供要执行的生成例程的映射和用于指定生成例程的生成器的指针或标识符。 如将理解的,本发明的实施例可以采用包括多个生成代码生成器身份数据对的字典。 发生器例程可以例如与特定对象类,字段,方法,方法体,过程,注释,子例程等相关联的源代码的生成相关联。 通过修改生成器字典中的生成代码生成器身份数据对,开发人员或用户能够修改由生成器最终生成的源代码(例如,源的结构和/或内容)。

    Fault-tolerant dynamic editing of GUI display and source code
    2.
    发明授权
    Fault-tolerant dynamic editing of GUI display and source code 失效
    GUI显示和源代码的容错动态编辑

    公开(公告)号:US08010951B2

    公开(公告)日:2011-08-30

    申请号:US12014367

    申请日:2008-01-15

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/38

    摘要: A fault-tolerant method of bottom-up editing whereby simultaneous display of the GUI view and source code view are available, and wherein real-time bottom-up editing is provided. In accordance with a preferred embodiment of the present invention, changes to the source code are isolated, first by isolating and analyzing source code according to groupings associated with the structure of the language used for the source code and then isolating and analyzing individual lines of source code within these groupings. If there are no errors in a particular grouping of source code, the changes in the grouping are automatically applied to the GUI. If errors are found in a grouping, the grouping is further analyzed to determine which lines contain the error. Semantic and syntactic errors are thereby isolated and, where found, are ignored. However, correct lines of the source code are also identified and thereby applied to the GUI for interpretation and display. Thus, correct edits to the source code are displayed in real-time while errors are ignored.

    摘要翻译: 自下而上编辑的容错方法可以同时显示GUI视图和源代码视图,并且提供实时自下而上的编辑。 根据本发明的优选实施例,源代码的改变是隔离的,首先通过根据与用于源代码的语言的结构相关联的分组隔离和分析源代码,然后隔离和分析源的源 这些分组中的代码。 如果特定的源代码组没有错误,则分组中的更改将自动应用于GUI。 如果在分组中发现错误,则进一步分析分组以确定哪些行包含错误。 因此,语义和句法错误被隔离,并且在发现的地方被忽略。 然而,源代码的正确线也被识别,从而应用于GUI以进行解释和显示。 因此,正确编辑源代码将被实时显示,而忽略错误。

    Shareable, bidirectional mechanism for conversion between object model and XML
    3.
    发明授权
    Shareable, bidirectional mechanism for conversion between object model and XML 失效
    可共享的双向机制,用于在对象模型和XML之间进行转换

    公开(公告)号:US07694284B2

    公开(公告)日:2010-04-06

    申请号:US11000296

    申请日:2004-11-30

    IPC分类号: G06F9/45

    摘要: The concept of “renderers” and “translators” is introduced in connection with bidirectional conversion between object models and XML. A renderer embodies the logic responsible for mediating the parser specific APIs for reading and writing XML. It utilizes a plurality of translator objects, which embody the mapping information needed to convert the XML into object model instances. The translator objects themselves do not contain “knowledge” of parser implementations; thus, the translators are common and can be shared and reused by any and all renderer implementations. Since each translator embodies the knowledge and rules regarding how to convert an XML model to an object model, and how to convert object models to XML, it is thus independent of the particular renderer that is being used, whether it be SAX, DOM, or some other renderer.

    摘要翻译: “对象模型”和“XML”之间的双向转换引入了“渲染器”和“翻译器”的概念。 渲染器体现了负责调解解析器特定API以读取和写入XML的逻辑。 它使用多个翻译对象,其体现了将XML转换为对象模型实例所需的映射信息。 翻译器对象本身不包含解析器实现的“知识”; 因此,翻译器是常见的,可以由任何和所有渲染器实现共享和重用。 由于每个翻译器都体现了关于如何将XML模型转换为对象模型的知识和规则,以及如何将对象模型转换为XML,因此它与所使用的特定渲染器无关,无论是SAX,DOM还是 一些其他渲染器。

    Framework for code generators
    4.
    发明授权
    Framework for code generators 失效
    代码生成器框架

    公开(公告)号:US07389492B2

    公开(公告)日:2008-06-17

    申请号:US09804346

    申请日:2001-03-12

    IPC分类号: G06F9/44

    CPC分类号: G06F8/30 G06F8/60

    摘要: Embodiments of the invention provide a dictionary, which may be modified by a developer, that provides a mapping of the generation routine to be performed and a pointer or identifier of the generator employed for the specified generation routine. As will be appreciated, embodiments of the invention may employ a dictionary which comprises a plurality of generation routine-code generator identity data pairs. A generator routine may be, for example, associated with the generation of source code associated with a particular object class, fields, methods, method bodies, procedures, comments, subroutines and the like. By modifying a generation routine-code generator identity data pair in a generator dictionary, a developer or user is able to modify the source code (e.g., the structure and/or content of the source) which is ultimately generated by the generator.

    摘要翻译: 本发明的实施例提供了可由开发者修改的字典,其提供要执行的生成例程的映射和用于指定生成例程的生成器的指针或标识符。 如将理解的,本发明的实施例可以采用包括多个生成代码生成器身份数据对的字典。 发生器例程可以例如与特定对象类,字段,方法,方法体,过程,注释,子例程等相关联的源代码的生成相关联。 通过修改生成器字典中的生成代码生成器身份数据对,开发人员或用户能够修改由生成器最终生成的源代码(例如,源的结构和/或内容)。

    Method and apparatus for synchronizing an XML document with its object model
    5.
    发明授权
    Method and apparatus for synchronizing an XML document with its object model 有权
    用于将XML文档与其对象模型同步的方法和装置

    公开(公告)号:US06745208B2

    公开(公告)日:2004-06-01

    申请号:US09870601

    申请日:2001-05-31

    IPC分类号: G06F1730

    摘要: A method and apparatus for synchronizing an XML document object model with the corresponding object model on the fly and in real time such that changes in either the document object model or the object model can be immediately reflected in the other without re-parsing the XML document. The invention utilizes a series of DOM/object model adapter software modules, each responsible for one (or more) object model properties and document object model nodes, respectively. Each adapter is registered to receive notification of a change in an object model property or DOM node for which it is responsible and updates the corresponding DOM node or object model property, respectively.

    摘要翻译: 一种用于将XML文档对象模型与相应对象模型同时实时并实时地同步的方法和装置,使得文档对象模型或对象模型中的变化可以立即反映在另一个中而不重新解析XML文档 。 本发明使用一系列DOM /对象模型适配器软件模块,每个模块分别负责一个(或多个)对象模型属性和文档对象模型节点。 每个适配器被注册以接收对其对它的负责的对象模型属性或DOM节点的更改的通知,并分别更新相应的DOM节点或对象模型属性。

    Fault-tolerant dynamic editing of GUI display and source code
    6.
    发明授权
    Fault-tolerant dynamic editing of GUI display and source code 有权
    GUI显示和源代码的容错动态编辑

    公开(公告)号:US07331042B2

    公开(公告)日:2008-02-12

    申请号:US10327378

    申请日:2002-12-21

    IPC分类号: G06F9/45

    CPC分类号: G06F8/38

    摘要: A fault-tolerant method of bottom-up editing whereby simultaneous display of the GUI view and source code view are available, and wherein real-time bottom-up editing is provided. In accordance with a preferred embodiment of the present invention, changes to the source code are isolated, first by isolating and analyzing source code according to groupings associated with the structure of the language used for the source code and then isolating and analyzing individual lines of source code within these groupings. If there are no errors in a particular grouping of source code, the changes in the grouping are automatically applied to the GUI. If errors are found in a grouping, the grouping is further analyzed to determine which lines contain the error. Semantic and syntactic errors are thereby isolated and, where found, are ignored. However, correct lines of the source code are also identified and thereby applied to the GUI for interpretation and display. Thus, correct edits to the source code are displayed in real-time while errors are ignored.

    摘要翻译: 自下而上编辑的容错方法可以同时显示GUI视图和源代码视图,并且提供实时自下而上的编辑。 根据本发明的优选实施例,源代码的改变是隔离的,首先通过根据与用于源代码的语言的结构相关联的分组隔离和分析源代码,然后隔离和分析源的源 这些分组中的代码。 如果特定的源代码组没有错误,则分组中的更改将自动应用于GUI。 如果在分组中发现错误,则进一步分析分组以确定哪些行包含错误。 因此,语义和句法错误被隔离,并且在发现的地方被忽略。 然而,源代码的正确线也被识别,从而应用于GUI以进行解释和显示。 因此,正确编辑源代码将被实时显示,而忽略错误。

    Method and apparatus for efficiently reflecting complex systems of objects in XML documents
    7.
    发明授权
    Method and apparatus for efficiently reflecting complex systems of objects in XML documents 有权
    用于有效地反映XML文档中的对象的复杂系统的方法和装置

    公开(公告)号:US07240101B2

    公开(公告)日:2007-07-03

    申请号:US09824614

    申请日:2001-04-02

    IPC分类号: G06F15/16 G06F9/44

    CPC分类号: G06F8/24

    摘要: The invention provides an efficient method and apparatus for exchanging data between two entities, such as two application programs or a resource library and an application program. The invention provides a mechanism for populating a complex object model implementation in accordance with the particular data format preferred by the receiving entity from one or more external data formats on the fly responsive to a request for data. The method and apparatus allow the registration of resource factories which can produce resources through mechanisms other than the traditional parsing of a file. One implementation of this is using the URL scheme to identify the factory to handle a request, and allowing that factory to create a specialized Java package resource.The method and apparatus allow the registration of reflection adapter factories, and specialized model classes which work with those adapters, for the purpose of computing object attributes and populating the Java package resource with them. One implementation of this mechanism is a set of Java Reflection adapters which compute the properties of JavaClass model objects from the JDK reflection API'S.

    摘要翻译: 本发明提供了一种用于在诸如两个应用程序或资源库和应用程序之间的两个实体之间交换数据的有效的方法和装置。 本发明提供了一种机制,用于响应于对数据的请求,根据来自一个或多个外部数据格式的接收实体优选的特定数据格式填充复杂对象模型实现。 该方法和装置允许通过除传统解析文件之外的机制产生资源的资源工厂的注册。 这样做的一个实现是使用URL方案来识别工厂来处理请求,并允许该工厂创建一个专门的Java包资源。 该方法和装置允许反射适配器工厂的注册,以及与这些适配器一起工作的专用模型类,用于计算对象属性并用它们填充Java包资源。 该机制的一个实现是一组Java反射适配器,它从JDK反射API的计算JavaClass模型对象的属性。

    FAULT-TOLERANT DYNAMIC EDITING OF GUI DISPLAY AND SOURCE CODE
    8.
    发明申请
    FAULT-TOLERANT DYNAMIC EDITING OF GUI DISPLAY AND SOURCE CODE 失效
    GUI显示和源代码的容错动态编辑

    公开(公告)号:US20080178046A1

    公开(公告)日:2008-07-24

    申请号:US12014367

    申请日:2008-01-15

    IPC分类号: H02H3/05

    CPC分类号: G06F8/38

    摘要: A fault-tolerant method of bottom-up editing whereby simultaneous display of the GUI view and source code view are available, and wherein real-time bottom-up editing is provided. In accordance with a preferred embodiment of the present invention, changes to the source code are isolated, first by isolating and analyzing source code according to groupings associated with the structure of the language used for the source code and then isolating and analyzing individual lines of source code within these groupings. If there are no errors in a particular grouping of source code, the changes in the grouping are automatically applied to the GUI. If errors are found in a grouping, the grouping is further analyzed to determine which lines contain the error. Semantic and syntactic errors are thereby isolated and, where found, are ignored. However, correct lines of the source code are also identified and thereby applied to the GUI for interpretation and display. Thus, correct edits to the source code are displayed in real-time while errors are ignored.

    摘要翻译: 自下而上编辑的容错方法可以同时显示GUI视图和源代码视图,并且提供实时自下而上的编辑。 根据本发明的优选实施例,源代码的改变是隔离的,首先通过根据与用于源代码的语言的结构相关联的分组隔离和分析源代码,然后隔离和分析源的源 这些分组中的代码。 如果特定的源代码组没有错误,则分组中的更改将自动应用于GUI。 如果在分组中发现错误,则进一步分析分组以确定哪些行包含错误。 因此,语义和句法错误被隔离,并且在发现的地方被忽略。 然而,源代码的正确线也被识别,从而应用于GUI以进行解释和显示。 因此,正确编辑源代码将被实时显示,而忽略错误。

    FRAMEWORK FOR CODE GENERATORS
    9.
    发明申请
    FRAMEWORK FOR CODE GENERATORS 有权
    代码发生器的框架

    公开(公告)号:US20080155497A1

    公开(公告)日:2008-06-26

    申请号:US12042372

    申请日:2008-03-05

    IPC分类号: G06F9/44

    CPC分类号: G06F8/30 G06F8/60

    摘要: Embodiments of the invention provide a dictionary, which may be modified by a developer, that provides a mapping of the generation routine to be performed and a pointer or identifier of the generator employed for the specified generation routine. As will be appreciated, embodiments of the invention may employ a dictionary which comprises a plurality of generation routine-code generator identity data pairs. A generator routine may be, for example, associated with the generation of source code associated with a particular object class, fields, methods, method bodies, procedures, comments, subroutines and the like. By modifying a generation routine-code generator identity data pair in a generator dictionary, a developer or user is able to modify the source code (e.g., the structure and/or content of the source) which is ultimately generated by the generator.

    摘要翻译: 本发明的实施例提供了可由开发者修改的字典,其提供要执行的生成例程的映射和用于指定生成例程的生成器的指针或标识符。 如将理解的,本发明的实施例可以采用包括多个生成代码生成器身份数据对的字典。 发生器例程可以例如与特定对象类,字段,方法,方法体,过程,注释,子例程等相关联的源代码的生成相关联。 通过修改生成器字典中的生成代码生成器身份数据对,开发人员或用户能够修改由生成器最终生成的源代码(例如,源的结构和/或内容)。