Class CustomEscape

java.lang.Object
com._1c.g5.modeling.xml.serializer.Escape
com._1c.g5.modeling.xtext.serializer.CustomEscape
Direct Known Subclasses:
RightsResourceEscape

public class CustomEscape extends Escape
Special implementation of Escape without replacing "\r" to " ". "\r" will be replaced to empty string when converting text, see convertText(String)
  • Field Details

    • EMPTY

      protected final char[] EMPTY
      Empty array of char
  • Constructor Details

    • CustomEscape

      public CustomEscape()
  • Method Details

    • convertText

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