Declarative mechanism for defining a hierarchy of objects
First Claim
1. A computer-readable medium having stored thereon a markup language data structure, comprising:
- a first data field containing data mapped to a programming language class; and
a second data field containing data mapped to one of a property and an event in the class.
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.
-
Citations
5 Claims
-
1. A computer-readable medium having stored thereon a markup language data structure, comprising:
-
a first data field containing data mapped to a programming language class; and
a second data field containing data mapped to one of a property and an event in the class. - View Dependent Claims (2, 3, 4, 5)
-
Specification