*/
public void insertBefore(DocItem newChild, DocItem refChild)
throws InvalidChildItemException, NodeNotFound
{
if(!newChild.validChildAddition(this))
throw new InvalidChildItemException("Child item of type \'" + newChild.getName() + "\' says it is not allowed to belong to this (\'" + itemName + "\') doc item");
int insertPos = docNodes.size();
//
// Does the refChild exist and exists in this node's children?