Class HelperFactory

java.lang.Object
de.uplanet.lucy.server.composer.HelperFactory

@VelocityCallable("singleton") public final class HelperFactory extends Object
This is a helper factory for the composer, especially the velocity context.
  • Constructor Details

    • HelperFactory

      public HelperFactory()
      Creates a new instance of HelperFactory
  • Method Details

    • getEscapedText

      public String getEscapedText(String p_strText)
      converts a String to another String so that some characters are converted to HTML tags
      Parameters:
      p_strText - a String
      Returns:
      a String with HTML-Tags instead of special characters
    • getEscapedPreselectString

      public String getEscapedPreselectString(String p_strText)
      converts a String to another String so that some characters are converted to HTML tags
      Parameters:
      p_strText - a String
      Returns:
      a String with HTML-Tags instead of special characters