It removes support for nodes being mixed with content. That is, a node can only contain content or a list of one or more child nodes. It does not support mixing bits of content between the child nodes.
Although designed to simplify XML in supported cases it can be used as a general tree structure with attributes of java Objects.
The DNode's own business logic is packed into {@link DNodeHandler} which is an implementation of{@link IDNodeHandler}. In this way, we can use the DNode in unit tests by using Mock implementations of {@link IDNodeHandler}.
|
|