at.ac.tuwien.infosys.sm4all.copal.api.xml
Interface AddStrategy

All Known Implementing Classes:
Append, InsertAfter, InsertBefore

public interface AddStrategy

Strategy class for adding one Element into another Element.

Author:
sanjin

Method Summary
 void add(Element parent, Element child)
          Add specified child Element into specified parent Element .
 

Method Detail

add

void add(Element parent,
         Element child)
Add specified child Element into specified parent Element .

Parameters:
parent - the parent Element.
child - the child Element.
Throws:
NullPointerException - if parent or child Element is null.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.