public void setLegalNotice ( final SpecTopic legalNotice ) { if ( legalNotice == null && this . legalNotice == null ) { return ; } else if ( legalNotice == null ) { removeChild ( this . legalNotice ) ; this . legalNotice = null ; } else if ( this . legalNotice == null ) { legalNotice . setTopicType ( TopicType . LEGAL_NOTICE ) ; this . legalNotice = new KeyValueNode < SpecTopic > ( CommonConstants . CS_LEGAL_NOTICE_TITLE , legalNotice ) ; appendChild ( this . legalNotice , false ) ; } else { legalNotice . setTopicType ( TopicType . LEGAL_NOTICE ) ; this . legalNotice . setValue ( legalNotice ) ; } }
Sets the SpecTopic of the Legal Notice for the Content Specification .