question: private void registerElement ( Element element ) { elements . add ( element ) ; for ( Element child : element . getChildren ( ) ) { registerElement ( child ) ; } }
target:  Adds element and it children to tree