question: private void unregisterElement ( Element element ) { elements . remove ( element ) ; for ( Element child : element . getChildren ( ) ) { unregisterElement ( child ) ; } }
target:  Removes element and children from tree