Class PublicationVeloCityCreater


  • public class PublicationVeloCityCreater
    extends java.lang.Object
    Class to create html pages for the frame header with the help of Velocity
    • Constructor Detail

      • PublicationVeloCityCreater

        public PublicationVeloCityCreater()
    • Method Detail

      • generateHtmlForHeadPage

        protected static java.lang.String generateHtmlForHeadPage()
                                                           throws EdalException
        Generate the HTML output for the welcome page.
        Returns:
        the HTML output in a StringWriter.
        Throws:
        EdalException - if unable to create output.
      • generateHtmlForHeadCitationPage

        protected static java.lang.String generateHtmlForHeadCitationPage​(java.awt.Color color)
                                                                   throws EdalException
        Generate the HTML output for the welcome page.
        Parameters:
        color - the text color
        Returns:
        the HTML output in a StringWriter.
        Throws:
        EdalException - if unable to create output.
      • generateHtmlForProcessDialog

        public static java.lang.String generateHtmlForProcessDialog()
                                                             throws EdalException
        Throws:
        EdalException
      • generateServerErrorDialog

        protected static java.lang.String generateServerErrorDialog​(java.lang.String errorMessage,
                                                                    java.lang.String serverAddress,
                                                                    int registryPort)
                                                             throws EdalException
        Throws:
        EdalException
      • generateHtmlForAgreement

        protected static java.lang.String generateHtmlForAgreement()
                                                            throws EdalException
        Throws:
        EdalException
      • generateEmailForAgreement

        public static java.lang.String generateEmailForAgreement​(MetaData metadata,
                                                                 java.util.Calendar now)
                                                          throws EdalException
        Throws:
        EdalException
      • generateHtmlForLicense

        public static java.lang.String generateHtmlForLicense​(java.lang.String legalCodeUrl,
                                                              java.lang.String humanReadableUrl)
                                                       throws EdalException
        Throws:
        EdalException
      • generateHtmlForOrcidSearchHeader

        public static java.lang.String generateHtmlForOrcidSearchHeader()
                                                                 throws EdalException
        Throws:
        EdalException