发明授权
US06263379B1 Method and system for referring to and binding to objects using identifier objects
失效
使用标识符对象引用和绑定到对象的方法和系统
- 专利标题: Method and system for referring to and binding to objects using identifier objects
- 专利标题(中): 使用标识符对象引用和绑定到对象的方法和系统
-
申请号: US08916999申请日: 1997-08-20
-
公开(公告)号: US06263379B1公开(公告)日: 2001-07-17
- 发明人: Robert G. Atkinson , Antony S. Williams , Edward K. Jung
- 申请人: Robert G. Atkinson , Antony S. Williams , Edward K. Jung
- 主分类号: G06F944
- IPC分类号: G06F944
摘要:
A method and system for referring to and binding to objects using a moniker object is provided. In a preferred embodiments moniker object contains information to identify linked source data and provides methods through which a program can bind to the linked source data. A binding method is provided that returns an instance of an interface through which the linked source data can be accessed. The moniker object can identify source data that is stored persistently or nonpersistently. In addition, moniker objects can be composed to form a composite moniker object. A composite moniker object is used to identify linked source data that is nested in other data. In a preferred embodiment, the moniker object provides other methods including a reducing method that returns a more efficient representation of the moniker object; equality and hash methods for comparing moniker objects; and inverse, common prefix, and relative-path-to methods for comparing and locating moniker objects from other moniker objects. Several implementations of a moniker object are provided including a file moniker, an item moniker, a generic composite moniker, a pointer moniker, and an anti moniker. Each implementation is a moniker class and has a class identifier that identifies code to manage the moniker class.
信息查询