Class RightsResourceEscape


public class RightsResourceEscape extends CustomEscape
Custome characters esceper for Rights resource

Main feature is do not escaping quote character in text of elements.
Also not supported CDATA tags and always escape ">" character. Also "\r" will be replaced to empty string when converting text, see convertText(String)

  • Constructor Details

    • RightsResourceEscape

      public RightsResourceEscape()
  • Method Details

    • convertText

      public String convertText(String input)
      Description copied from class: CustomEscape
      Copy from parent class with changing logic for escaping symbol "\r". "\r" will be replaced to emty string
      Overrides:
      convertText in class CustomEscape