private void setParentElement ( Element parentElement ) { synchronized ( lock ) { checkNotFrozen ( ) ; if ( this . parentElement != null ) throw new IllegalStateException ( "parentElement already set" ) ; this . parentElement = parentElement ; } assert checkPageAndParentElement ( ) ; }
Sets the parent element of this element .