×

Object-oriented processing of markup

  • US 7,844,956 B2
  • Filed: 11/23/2005
  • Issued: 11/30/2010
  • Est. Priority Date: 11/24/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method, executed by a central processing unit (CPU), for application-specific object-oriented processing of a markup by a model instance associated with a class Model and a plurality of element instances, each of said plurality of element instances associated with a class Element, said class Model is configured to process instances of said class Element, comprising the steps of:

  • responding to a construct-element request, said construct-element request is a member function of said class Model, dispatched to said model instance, in which a tag name is provided, said tag name corresponding to a tagged element from said markup, constructing a new element instance, one of said plurality of element instances, according to application-specific requirements as determined according to said tag name, performing application-specific processing as required, and returning said constructed new element instance;

    responding to an accept-attribute request, said accept-attribute request is a member function of said class Element, dispatched to one of said plurality of element instances, in which an attribute is provided, said attribute corresponding to a markup attribute of a tagged element from said markup, and performing application-specific processing as required;

    responding to an accept-element request, said accept-element request is a member function of said class Element, dispatched to one of said plurality of element instances, in which a child element instances, one of said plurality of element instances, is provided, and performing application-specific processing as required; and

    responding to an accept-root-element request, said accept-root-element request is a member function of said class Model, dispatched to said model instance, in which a root element instance, one of said plurality of element instances, is provided, and performing application-specific processing as required.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×