Extensible markup language rendering and layout
First Claim
Patent Images
1. A system comprising:
- a markup language core engine for providing categories of behaviors including layout and rendering behaviors;
at least one external component designed to provide categories of external component behaviors including at least one of an external component layout behavior and an external component rendering behavior in addition to the behaviors provided by the core engine, wherein the external component layout behavior and the external component rendering behavior are one of an attached behavior or an element behavior;
a pair of interfaces associated with each external component for communication between the external component and the core engine;
a mechanism included in the core engine to extend a selected category of behavior of the core engine with the behaviors of a same category of the at least one external component, such that the behaviors of the same category of the at least one external component participate with the behaviors of the core engine, wherein the mechanism and the at least one external component communicate through the pair of interfaces to confirm participation, and participation includes the at least one external component delegating a portion that is less than all of a processing of the behaviors of the same category to the core engine; and
an output medium to render and layout visual elements as a result of the participation among the markup language core engine and the at least one external component.
3 Assignments
0 Petitions
Accused Products
Abstract
Extensible markup language layout and rendering behaviors are disclosed. A core engine provides existing layout and rendering behaviors for a predetermined markup language, such as HTML. External components are designed to provide extended layout and/or rendering behaviors, in addition to the behaviors of the core engine. A mechanism, which can be part of the core engine, extends the existing behaviors with the behaviors of the external components. The behaviors of the external components can participate with the behaviors of the core engine.
13 Citations
18 Claims
-
1. A system comprising:
-
a markup language core engine for providing categories of behaviors including layout and rendering behaviors; at least one external component designed to provide categories of external component behaviors including at least one of an external component layout behavior and an external component rendering behavior in addition to the behaviors provided by the core engine, wherein the external component layout behavior and the external component rendering behavior are one of an attached behavior or an element behavior; a pair of interfaces associated with each external component for communication between the external component and the core engine; a mechanism included in the core engine to extend a selected category of behavior of the core engine with the behaviors of a same category of the at least one external component, such that the behaviors of the same category of the at least one external component participate with the behaviors of the core engine, wherein the mechanism and the at least one external component communicate through the pair of interfaces to confirm participation, and participation includes the at least one external component delegating a portion that is less than all of a processing of the behaviors of the same category to the core engine; and an output medium to render and layout visual elements as a result of the participation among the markup language core engine and the at least one external component. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method performed by a mechanism for extending a behavior of a core engine with a behavior of an external component, both the core engine behavior and the external component behavior belonging to a same category of behavior, the category being at least one of a layout behavior and a rendering behavior, the method comprising:
-
calling a behavior initialization method of the external component to determine how the behavior of the external component participates with the behavior of the core engine, wherein the core engine behavior and the external component behavior belong to the same category of behavior, and participation includes the at least one external component delegating a portion that is less than all of a processing of the core engine behavior and the external component behavior to the core engine in a first mode, and participation further includes replacing the core engine behavior with the external component behavior in a second mode; calling a behavior method of the external component for the external component to provide the behavior of the external component when the core engine is providing the behavior of the core engine, so that the behavior of the external component participates with the behavior of the core engine; receiving a call to a corresponding behavior method of the mechanism for the external component to communicate with the core engine during participation of the behavior of the external component with the behavior of the core engine, wherein the external component behavior is one of an attached behavior or an element behavior; and rendering a number of layers based on the participation among the external component and the core engine. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable medium having one or more computer programs stored thereon for execution by a processor comprising:
-
a markup language core engine for providing categories of behaviors including layout and rendering behaviors; at least one external component designed to provide categories of external component behaviors including at least one of an external component layout behavior and an external component rendering behavior in addition to the behaviors provided by the core engine, wherein the external component layout behavior and the external component rendering behavior are one of an attached behavior or an element behavior; a pair of interfaces associated with each external component for communication between the external component and the core engine; a mechanism included in the core engine to extend a selected category of behavior of the core engine with the behaviors of a same category of the at least one external component, such that the behaviors of the same category of the at least one external component participate with the behaviors of the core engine, wherein the mechanism and the external component communicate through the pair of interfaces, and participation includes the at least one external component delegating a portion that is less than all of a processing of the behaviors of the same category to the core engine; and an output medium to render and layout visual elements as a result of the participation among the markup language core engine and the at least one external component. - View Dependent Claims (18)
-
Specification