首页> 外国专利> Method and apparatus for efficiently reflecting complex systems of objects in XML documents

Method and apparatus for efficiently reflecting complex systems of objects in XML documents

机译:在XML文档中有效反映对象的复杂系统的方法和装置

摘要

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模型对象的属性。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号