public void setInjectionOptions ( final InjectionOptions injectionOptions ) { if ( injectionOptions == null && this . injectionOptions == null ) { return ; } else if ( injectionOptions == null ) { removeChild ( this . injectionOptions ) ; this . injectionOptions = null ; } else if ( this . injectionOptions == null ) { this . injectionOptions = new KeyValueNode < InjectionOptions > ( CommonConstants . CS_INLINE_INJECTION_TITLE , injectionOptions ) ; appendChild ( this . injectionOptions , false ) ; } else { this . injectionOptions . setValue ( injectionOptions ) ; } }
Sets the InjectionOptions that will be used by the Builder when building a book .