Task #1795

Restructure Node Architecture

Added by Bastian Waidelich about 13 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-10-23
Due date:
% Done:

0%

Estimated time:
Has patch:

Description

Currently we have:
  • AbstractNode [implements NodeInterface]
  • * ObjectAccessorNode
  • * TextNode
  • * DynamicNode
  • * RootNode

NodeInterface contains four methods renderSubtree(), evaluateSubtree(), addToContext(), removeFromContext(). They are actually only supported by DynamicNode. So we rather need something like:

  • AbstractNode
  • * ObjectAccessorNode
  • * TextNode
  • * DynamicNode [implements TreeInterface, ContextNodeInterface]
  • * RootNode [implements TreeInterface]

("TreeInterface" and "ContextNodeInterface" are no adequate names at all, I just can't think of better ones at the moment).

#1

Updated by Sebastian Kurfuerst over 12 years ago

  • Status changed from New to Resolved

already resolved

Also available in: Atom PDF