protected void processPOTopicInjections ( final POBuildData buildData , final SpecTopic specTopic , final Map < String , TranslationDetails > translations ) { // Prerequisites addStringsFromTopicRelationships ( buildData , specTopic . getPrerequisiteRelationships ( ) , DocBookXMLPreProcessor . PREREQUISITE_PROPERTY , DocBookXMLPreProcessor . ROLE_PREREQUISITE , translations ) ; // See also addStringsFromTopicRelationships ( buildData , specTopic . getRelatedRelationships ( ) , DocBookXMLPreProcessor . SEE_ALSO_PROPERTY , DocBookXMLPreProcessor . ROLE_SEE_ALSO , translations ) ; // Link List addStringsFromTopicRelationships ( buildData , specTopic . getLinkListRelationships ( ) , null , DocBookXMLPreProcessor . ROLE_LINK_LIST , translations ) ; // Previous final List < Relationship > prevRelationships = specTopic . getPreviousRelationships ( ) ; if ( prevRelationships . size ( ) > 1 ) { addStringsFromProcessRelationships ( buildData , specTopic , prevRelationships , DocBookXMLPreProcessor . PREVIOUS_STEPS_PROPERTY , DocBookXMLPreProcessor . ROLE_PROCESS_PREVIOUS_LINK , DocBookXMLPreProcessor . ROLE_PROCESS_PREVIOUS_TITLE_LINK , translations ) ; } else { addStringsFromProcessRelationships ( buildData , specTopic , prevRelationships , DocBookXMLPreProcessor . PREVIOUS_STEP_PROPERTY , DocBookXMLPreProcessor . ROLE_PROCESS_PREVIOUS_LINK , DocBookXMLPreProcessor . ROLE_PROCESS_PREVIOUS_TITLE_LINK , translations ) ; } // Next final List < Relationship > nextRelationships = specTopic . getNextRelationships ( ) ; if ( nextRelationships . size ( ) > 1 ) { addStringsFromProcessRelationships ( buildData , specTopic , nextRelationships , DocBookXMLPreProcessor . NEXT_STEPS_PROPERTY , DocBookXMLPreProcessor . ROLE_PROCESS_NEXT_LINK , DocBookXMLPreProcessor . ROLE_PROCESS_NEXT_TITLE_LINK , translations ) ; } else { addStringsFromProcessRelationships ( buildData , specTopic , nextRelationships , DocBookXMLPreProcessor . NEXT_STEP_PROPERTY , DocBookXMLPreProcessor . ROLE_PROCESS_NEXT_LINK , DocBookXMLPreProcessor . ROLE_PROCESS_NEXT_TITLE_LINK , translations ) ; } }
Process a spec topic and add any translation strings for it .