mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/MissionExport.java
public void handleExportMission(final String missionName) throws MarshalException
    {
        final MissionProgramTemplate template = m_TemplateProgramManager.getTemplate(missionName);
        final byte[] fileByteArray = m_MarshalService.createXmlByteArray(template, true);
        m_DownloadFile = new DefaultStreamedContent(new ByteArrayInputStream(fileByteArray), "application/xml", 
                missionName + ".xml");
    }
/**
     * Method called to handle exporting a mission script in the {@link TemplateProgramManager} to an XML file.
     * 
     * @param missionName
     *          The name of the mission template to be exported as an XML file.
     * @throws MarshalException 
     *          thrown if the mission template specified is unable to be converted to XML
     *          or thrown if the XML created from the mission template is unable to be read.                  
     */
Method called to handle exporting a mission script in the  TemplateProgramManager to an XML file.

@param missionName
The name of the mission template to be exported as an XML file.
@throws MarshalException
thrown if the mission template specified is unable to be converted to XML
or thrown if the XML created from the mission template is unable to be read.
Method called to handle exporting a mission script in the TemplateProgramManager to an XML file . @param missionName The name of the mission template to be exported as an XML file . @throws MarshalException thrown if the mission template specified is unable to be converted to XML or thrown if the XML created from the mission template is unable to be read .
public void handleExportMission(final String missionName) throws MarshalException
    {
        final MissionProgramTemplate template = m_TemplateProgramManager.getTemplate(missionName);
        final byte[] fileByteArray = m_MarshalService.createXmlByteArray(template, true);
        m_DownloadFile = new DefaultStreamedContent(new ByteArrayInputStream(fileByteArray), "application/xml", 
                missionName + ".xml");
    }
public void handleExportMission ( final String missionName ) throws MarshalException { final MissionProgramTemplate template = m_TemplateProgramManager . getTemplate ( missionName ) ; final byte [ ] fileByteArray = m_MarshalService . createXmlByteArray ( template , true ) ; m_DownloadFile = new DefaultStreamedContent ( new ByteArrayInputStream ( fileByteArray ) , "application/xml" , missionName + ".xml" ) ; }
Method called to handle exporting a mission script in the {@link TemplateProgramManager} to an XML file.
Method called to handle exporting a mission script in the { @link TemplateProgramManager } to an XML file .