1 / 8

Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def)

Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def) void addUndef(Set undef, Set def). Decl void addUndef(Set undef, Set def). ElementDecl void addDef(Set def) void addUndef(Set undef, Set def). items. AttributeDecl. SchemaItem void addDef(Set def)

bunny
Download Presentation

Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def) void addUndef(Set undef, Set def) Decl void addUndef(Set undef, Set def) ElementDecl void addDef(Set def) void addUndef(Set undef, Set def) items AttributeDecl SchemaItem void addDef(Set def) void addUndef(Set undef, Set def) * adecls * SimpleType edecls 0..1 TypeDef void addDef(Set def) typeDef ComplexType void addDef(Set def) void addUndef(Set undef, Set def) attrs * Attribute name : String value : String void addDef(Set def) void addUndef(Set undef, Set def) content * SequenceGroup void addDef(Set def) void addUndef(Set undef, Set def) attrs * attrs * attrs

  2. initially forgotten Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def) void addUndef(Set undef, Set def) Decl void addUndef(Set undef, Set def) ElementDecl void addDef(Set def) void addUndef(Set undef, Set def) items AttributeDecl SchemaItem void addDef(Set def) void addUndef(Set undef, Set def) * adecls * SimpleType edecls 0..1 TypeDef void addDef(Set def) typeDef ComplexType void addDef(Set def) void addUndef(Set undef, Set def) attrs * Attribute name : String value : String void addDef(Set def) void addUndef(Set undef, Set def) content * SequenceGroup void addDef(Set def) void addUndef(Set undef, Set def) attrs * attrs * attrs

  3. from Schema via ->TypeDef,attrs,* to Attribute Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def) void addUndef(Set undef, Set def) Decl void addUndef(Set undef, Set def) items ElementDecl void addDef(Set def) AttributeDecl SchemaItem void addDef(Set def) void addUndef(Set undef, Set def) * adecls * SimpleType edecls 0..1 TypeDef void addDef(Set def) typeDef ComplexType void addDef(Set def) void addUndef(Set undef, Set def) attrs * Attribute name : String value : String void addDef(Set def) void addUndef(Set undef, Set def) content * SequenceGroup void addDef(Set def) void addUndef(Set undef, Set def) attrs * attrs * attrs

  4. from Schema via ->Decl,attrs,* to Attribute Schema Set getDefinedTypeNames() Set getUndefinedTypeNames() void addDef(Set def) void addUndef(Set undef, Set def) Decl void addUndef(Set undef, Set def) items ElementDecl void addDef(Set def) AttributeDecl SchemaItem void addDef(Set def) void addUndef(Set undef, Set def) * adecls * SimpleType edecls 0..1 TypeDef void addDef(Set def) typeDef ComplexType void addDef(Set def) void addUndef(Set undef, Set def) attrs * Attribute name : String value : String void addDef(Set def) void addUndef(Set undef, Set def) content * SequenceGroup void addDef(Set def) void addUndef(Set undef, Set def) attrs * attrs * attrs

  5. Interface and Secretin Aspectual Methods • interface: • traditional: cg, traversal strategy s • secret • will visit all objects according to s (how it does it is a secret)

  6. Cross-cutting in AOP classes Aspect MoveTracking FigureElement pointcut moves(): FigureElement.setXY(…) Line.setP1(…) Line.setP2(…) Point.setX(…) Point.setY(…) after(): moves() {…} Line Point Enhancement defined in MoveTracking is spread in classes.

  7. scattering and tanglingcross cutting • one color per concern. • tangling: same module has multiple colors. • scattering: same color is in multiple modules. • crosscutting: has its hooks into other implementations; the places it has to hook crosscut other modules.

More Related