Package com._1c.g5.v8.dt.rights.resource
Class RightsResourceEscape
- java.lang.Object
-
- com._1c.g5.modeling.xml.serializer.Escape
-
- com._1c.g5.modeling.xtext.serializer.CustomEscape
-
- com._1c.g5.v8.dt.rights.resource.RightsResourceEscape
-
public class RightsResourceEscape extends CustomEscape
Custome characters esceper for Rights resourceMain 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, seeconvertText(String)
-
-
Field Summary
-
Fields inherited from class com._1c.g5.modeling.xtext.serializer.CustomEscape
EMPTY
-
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 RightsResourceEscape()
-
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)
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 classCustomEscape
-
-