Class EscapingStrategy.Hbs

    • Constructor Summary

      Constructors 
      Constructor Description
      Hbs​(java.lang.String[][] escapeMap)
      Creates a new EscapingStrategy.Hbs escaping strategy.
      Hbs​(java.util.Map<java.lang.CharSequence,​java.lang.CharSequence> escapeMap)
      Creates a new EscapingStrategy.Hbs escaping strategy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence escape​(java.lang.CharSequence value)
      Escape the CharSequence.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Hbs

        public Hbs​(java.lang.String[][] escapeMap)
        Creates a new EscapingStrategy.Hbs escaping strategy.
        Parameters:
        escapeMap - A escape map.
      • Hbs

        public Hbs​(java.util.Map<java.lang.CharSequence,​java.lang.CharSequence> escapeMap)
        Creates a new EscapingStrategy.Hbs escaping strategy.
        Parameters:
        escapeMap - A escape map.
    • Method Detail

      • escape

        public java.lang.CharSequence escape​(java.lang.CharSequence value)
        Description copied from interface: EscapingStrategy
        Escape the CharSequence.
        Specified by:
        escape in interface EscapingStrategy
        Parameters:
        value - the character sequence to be escaped.
        Returns:
        the escaped character sequence.