net.openmarkup
Interface ElementAssimilator

All Known Implementing Classes:
DefaultElementAssimilator

public interface ElementAssimilator

Interface for assimilating a child element into a parent element. Assimilation is an active process in which information from the child element may be incorporated into the parent element. Assimilation is more than just absorption of a child element by a parent element, because it may result in essential changes to the object realized from the parent element, or from the child element, or from both.

Author:
Ramesh Gupta

Method Summary
 void assimilate(Realizable parent, Realizable child)
          Assimilate the specified child element into the specified parent element.
 

Method Detail

assimilate

public void assimilate(Realizable parent,
                       Realizable child)
                throws AssimilatorException
Assimilate the specified child element into the specified parent element. Assimilation may affect the composition of the object realized from the parent element, or from the child element, or from both.

Parameters:
parent - the assimilating Realizable element
child - the assimilated Realizable element
Throws:
AssimilatorException - if assimilation could not be completed


Copyright 2003-2004 eNode, Inc. All rights reserved.