Class EscapeReference

    • Field Detail

      • log

        protected org.slf4j.Logger log
    • Constructor Detail

      • EscapeReference

        public EscapeReference()
    • Method Detail

      • escape

        protected abstract String escape​(Object text)
        Escape the given text. Override this in a subclass to do the actual escaping.
        Parameters:
        text - the text to escape
        Returns:
        the escaped text
      • getMatchAttribute

        protected abstract String getMatchAttribute()
        Specify the configuration attribute that specifies the regular expression. Ideally should be in a form
        eventhandler.escape.XYZ.match

        where XYZ is the type of escaping being done.

        Returns:
        configuration attribute
      • getRuntimeServices

        protected RuntimeServices getRuntimeServices()
        Retrieve a reference to RuntimeServices. Use this for checking additional configuration properties.
        Returns:
        The current runtime services object.