Declarative mechanism for defining a hierarchy of objects
First Claim
1. A method to declaratively define an object comprising the steps of:
- mapping a uniform resource locator (URL) for a location of a definition file to an xmlns attribute in one of a root tag and a mapping tag, the definition file having at least one namespace;
setting a tag name to a class name in the at least one namespace;
setting an attribute of the tag to a property name if the object has a property setting.
1 Assignment
0 Petitions
Accused Products
Abstract
Described is a method and data structure that enables an object to be specified declaratively within a markup document. The markup document may be XML-based. In accordance with the invention, the object is written based on a mapping. The mapping includes a URL attribute for defining a location for a definition file having assemblies and namespaces where classes are specified. The class name is mapped to the markup document as a tag name. Properties and events of a class are mapped to attributes of the tag associated with the class. The method further includes a method to parse the markup language to create a hierarchy of objects. Attributes that do not map directly to a class are defined with a definition tag. The definition tag is also used to add programming code to a page.
33 Citations
7 Claims
-
1. A method to declaratively define an object comprising the steps of:
-
mapping a uniform resource locator (URL) for a location of a definition file to an xmlns attribute in one of a root tag and a mapping tag, the definition file having at least one namespace;
setting a tag name to a class name in the at least one namespace;
setting an attribute of the tag to a property name if the object has a property setting. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification