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 ofEscape
without replacing "\r" to " ". "\r" will be replaced to empty string when converting text, seeconvertText(String)
-
-
Field Summary
Fields Modifier and Type Field Description protected char[]
EMPTY
Empty array of char-
Fields inherited from class com._1c.g5.modeling.xml.serializer.Escape
ACK, allowControlCharacters, AMP, BEL, BS, CAN, CONTROL_CHARACTERS, CR, DC1, DC2, DC3, DC4, DLE, EM, ENQ, EOT, ESC, ETB, ETX, FF, FS, GREATER, GS, LESS, LF, LINE_FEED, lineDelimiter, mappableLimit, MAX_UTF_MAPPABLE_CODEPOINT, NAK, NUL, QUOTE, RS, SI, SO, SOH, STX, SUB, SYN, TAB, US, useCDATA, value, VT
-
-
Constructor Summary
Constructors Constructor Description CustomEscape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertText(String input)
Copy from parent class with changing logic for escaping symbol "\r".-
Methods inherited from class com._1c.g5.modeling.xml.serializer.Escape
convert, convertLines, grow, replace, replaceChars, setAllowControlCharacters, setLineDelimiter, setMappingLimit, setUseCDATA
-
-
-
-
Method Detail
-
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 classEscape
-
-