Adds a DomElement node to this collection. Depending on type of collection, this method will take information from node to initialize how to find it.